Information générale
Catégorie:
Codage, syntaxe et commandes
>>doing a work around for validating from the cmdsave on the toolbar. because i call lastcontrol.valid myself, the controlsource is not updated with the value. want to update the controlsource with the value generically. do not want to change all my valid code, since it all references the controlsource now.
>>
>>do not want to actually update the controlsource, but the controlsource's value.
>>
>>controlsource = tablex.field1
>>tablex.field1 = .t.
>>
>>want to set tablex.field1 = this.valuel
>>
>>any ideas?
>>
>>brenda
>Brenda,
>Tried lastcontrol.value = lastcontrol.value ?
>Cetin
just tried it an got a run time error. realize that i probably need to "replace controlsource with this.value" for a table.
still looking.
brenda
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement