Solved

Crystal Reports Left MID O or ?

Posted on 2013-11-12
3
335 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
Comment Utility
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
Comment Utility
Thank you
0
 

Author Closing Comment

by:Scott Johnston
Comment Utility
worked
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

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 …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

772 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

10 Experts available now in Live!

Get 1:1 Help Now