Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error - A string can be at most 254 characters long?
Message
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Title:
Error - A string can be at most 254 characters long?
Miscellaneous
Thread ID:
00696634
Message ID:
00696634
Views:
406
I have the following code in a formula in my CR 8 report causing the error -
A string can be at most 254 characters long.
StringVar suspect_tube;
If TRIM({tubestats.slist}) <> "" then
suspect_tube:=suspect_tube + CHR(13)+TRIM({tubestats.slist}) else
suspect_tube;
If I change the code to the following, the error goes away.
Is there a workaround for this problem?
StringVar suspect_tube;
If TRIM({tubestats.slist}) <> "" then
suspect_tube:=TRIM({tubestats.slist}) else
suspect_tube;
The field in question is tubestats.slist which is CHAR 80.
I really would like to be able to append the field values and report them at the group section level. Can I restrict the length of the suspect_tube variable to less than 254 chars during the append process?

Any ideas? Thanks so much.
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site: www.stephenkramer.com
Would you believe Far Side Lite?
More than 270 original cartoons.
Reply
Map
View

Click here to load this message in the networking platform