Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing large amount of text as a form parameter?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00439671
Message ID:
00439841
Views:
19
Joe,

On a form with this Init method:
lparameter pcStr

activate window "debug output"
debugout len( pcStr )
debugout pcStr
This command works fine for me:

do form x1 with replicate( "abcABC", 300 ) + "<"

You know that a string constant in VFP can not be longer that 255 characters, but string memvars can be upto 16 meg long.

>>I start up a form from another form and need to pass it a large amount (2-4K) of text. I then need the text returned to the calling form.
>>Do I just create a variable and pass that variable then return it? It works but is that an acceptable method?
>
>Actually it doesn't work. The string is too long. Any ideas on how to do this?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform