Solved

Crystal Reports Left MID O or ?

Posted on 2013-11-12
3
336 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…
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 …

919 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now