Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Append from text field to memo field
Message
De
15/06/2005 07:24:32
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
01023393
Message ID:
01023403
Vues:
15
This message has been marked as the solution to the initial question of the thread.
>>>I thought for sure I had saved this somewhere, but I can't find it.
>>>
>>>I need to append the contents of a text field on a form to the end of a memo field without losing what is already in the memo field. It is too early and I can't seem to think straight :)
>>>
>>>Basically the user will add some information to the textbox, and then on save it will be added to the end of a running history file.
>>>
>>>thx,
>>
>>Phil
>>
>>Replace memofield with textfield ADDITIVE
>>
>>Terry
>
>I'm doing this on a data entry form. I'm trying to append the contents of thisform.txtUpdate to the end of thisform.edbHistory. I keep getting an error "edbHistory is not a file variable" ??

Ah,

I thought you were appending to an existing memeo field in a table. Presumably, then, thisform.edbHistory is the "screen embodiment" of the memo, presumably in an edit box? When you refer to the contents of controls, you need their .Value, e.g.

thisform.edbHistory.value = thisform.edbHistory.value + thisform.txtUpdate.value

That work?

Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform