Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing large amount of text as a form parameter?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00439671
Message ID:
00439841
Vues:
20
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform