Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error - A string can be at most 254 characters long?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Titre:
Error - A string can be at most 254 characters long?
Divers
Thread ID:
00696634
Message ID:
00696634
Vues:
405
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.
Répondre
Fil
Voir

Click here to load this message in the networking platform