Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

comparing strings

Status
Not open for further replies.

espltd

Programmer
Apr 6, 2005
233
US
Hi, I have a report using Crystal 10 that comes with vs2005 and in the details section I have a formula. In the detail section the records look like with formula1 =length+width
but I want formula 1 to display 0 if the Name starts with ss. Just wondering if there is a way to do this in the formula,
if Name not like "ss*"
length+width

Name formula1 length width
sstruck 0 20 10
car 100 50 100
Thanks Paul.
 
Got it working, just used like "ss*
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top