>>>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.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao