Solved

Crystal Reports Left MID O or ?

Posted on 2013-11-12
3
342 Views
Last Modified: 2013-11-13
I have item codes in my system that begin with "SS" I need strip the SS of the item code.
How can I do this?

Examples:

SSATC
SSATG
SSATL
SSBSBBM
SSBSBBMANG
SSBSBBMILK
SSBSBBPOM
SSBSBLHW
SSBSERM
SSBSFSM
SSBSFTMC
SSBSFTMR
SSBSHLGRE
SSBSHLLAV
SSBSHLMANGO
SSBSHLMIL
SSBSHLPOM
SSBSHLU
SSBSMBBP
SSBSMBBPGRE
SSBSMBBPLAV
SSBSMBBPMANG
SSBSMBBPMILK
SSBSMBBPPOM
SSBSRLO
SSBSTP
SSCOCO
SSCOCOBALM
SSCONTROLGLIDE
SSCRO
SSDPC
SSDTU
SSHBBC
SSHBFC
SSHBG
SSHSBO
SSHSC
SSHSFA
SSHSFO
SSINTROPK
SSMJTMC
SSMJTMG
SSMLBLI
SSMLCAL
SSMLENE
SSMLREW
SSMLSER
SSNNC
SSNNL
SSNNO
SSPL
SSPTOMC
SSPTOMG
SSROU
SSRTMC
SSSTP
SSTBG
0
Comment
Question by:Scott Johnston
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 39643661
Assuming they allstart with SS

Mid({YourField},3)

If some don't start with SS
If Left({YourField},2) == "SS" then  
   Mid({YourField},3)
Else
   {YourField}

mlmcc
0
 

Author Comment

by:Scott Johnston
ID: 39646357
Thank you
0
 

Author Closing Comment

by:Scott Johnston
ID: 39646358
worked
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question