Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Max length for parameter?
Message
From
08/03/1999 22:36:16
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00195365
Message ID:
00195431
Views:
13
>What is the maximum length for a character string passed as a parameter? 256 characters?

As Ed said, the maximum length is the same as the max length for a string. BUT there seems to be a bug when passing parameters directly from Form properties:

THISFORM.MyProp = REPLICATE("E", 258)
DO FORM Form2 WITH THISFORM.MyProp

causes a error 1903 "String is too long to fit"

But

THISFORM.MyProp = REPLICATE("E", 258)
lcTmp = THISFORM.MyProp
DO FORM Form2 WITH lcTmp

Works just fine.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform