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!

When i get error i get message, can i change message?

Status
Not open for further replies.

ss7415

Programmer
Dec 7, 2006
84
US
when someone enters a parameter with no records , i get an error of

error in formula <display>
while printing records;
string length is less than 0 or not an integer.

i do have a formula with while printing records; in it

can i change the error note to whatever i want?
 
that is what i see in enterprise,

i see in crystal is string is less then 0 or not an integer.

the fomula is

whileprintingrecords;
stringvar x;
left(x, len(x)-1);
 
what i prefer is to get rid of this error
 
Change the formula to:

whileprintingrecords;
stringvar x;
if x > 1 then
left(x, len(x)-1)
else
""

-k
 
thanks a lot. This really helped me out
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top