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:
00439753
Views:
16
>>>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?
>>
>>A more OOP approach may be to pass the text string as a property of an object. Store the object to a form property in the Init, manipulate it and release your form. Then there is no need to return anything.
>
>I actually get an error that says "string is too long". Can the object have a property that will hold this much text?

Properties are just like string variables and they can be 16,777,184 characters long. You could get this error if you try to use it in macro expansion or with a RUN command.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform