Information générale
Catégorie:
Codage, syntaxe et commandes
>>i have textboxes reference to fields of a database. there are 8 fields. when a new record is created and the cursor is in the last text box and i use a function key to tableupdate() the last textbox is not written to the record about 50% of the time. i can get around this problem by moving the cursor off the last textbox. this same problem did not occur with this program in vfp 3.0b
>>
>>is something wrong? am i missing some code that should have been there to move the cursor but it is just now showing in vfp 5.0?
>>
>>jim jacques
>
>If you are using toolbars to save the record, then you better use the WriteToBuffer method in Tastrade application.
>If not make sure that the last textbox is bounded to the correct field name.
I am not using a tool bar, i am using keypress coded to a function key that will then us tableupdate(). also the textbox is bounded to the correct field. this problem only occurs 50% of the time. also when the cursor in moved to another textbox (not the last textbox) it never occurs.
thanks
jim
Précédent
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