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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Range Formula Trancates Last Charter

Status
Not open for further replies.

BlurredVision

Technical User
Aug 6, 2001
326
GB
Hello all.. I have the following formula:

If ({RV_Practitioner.Last_Name} in ("A" to "C")) Then


{RV_Practitioner.Last_Name}


Else


"";

When it runs, it only gives me A to B (Cutting off C).. I can't seem to find away around this.. Any ideas?

I am running Crystal Reports v10

Thanks!
 
Your test looks for a practitioner called "C". Try
Code:
If (Left({RV_Practitioner.Last_Name}, 1) in ("A" to "C"))

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top