Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memo field?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00461241
Message ID:
00461260
Vues:
12
>VFP 3.0
>
>Hello All,
>
>I am using an edit box with a memo field. I need to copy this field
>from one form to another and i am having problems.
>
>I have tried to use the save to command and restore, but I keep
>getting a data type mismatch.
>
>I am new to using memo fields and would appreciate any help.
>
>Thanks and have a good day.
>
>Becky
Hi Becky,

Don't have VFP3.0 to check, but I guess you can use _cliptext, e.g.:
_cliptext=FirstForm.EditBox1.text

You can open any editor (WordPad, for example, and do Ctrl+V to check)

SecondForm.EditBox1.text=_cliptext

I think, this is the easiest way. To make it more accurate, you may save current context of _cliptext in a variable and then restore it back, after you've done.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform