Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tableupdate Problem
Message
De
04/03/2002 15:56:25
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00628028
Message ID:
00628039
Vues:
17
Ken,

I am assuming that the rowsource of the combo is coming from a different table. If this is the case, everything is working as designed. When you move the record pointer in the combo, it is setting the controlsource (mytable.fieldname) to the new value. This is the same as doing a "replace mytable.fieldname with thisform.combobox.value". Since you have table buffering enabled (and probably a private data session), when you try to close the form, you get the error that tries to warn you that there are pending changes to the buffered data.

You will either have to revert or commit the changes before you can safely exit. The only other option is to remove the controlsource, but that would defeat the purpose of having a picklist for mytable.fieldname.

If you need further help, feel free to contact me.



>I have a form with a combo box (controlsource = mytable.fieldname and rowsource = 6 (fields) that receives focus when the form opens. The only method code associated with the combo directs focus to a command button when the combo loses focus. If I move the record pointer in the combo, I get the message "Data has been changed" etc. when I close the form. My load method contains the =CURSORSETPROP('Buffering', 5, 'mytable') line. Is there something else I'm missing? Thanks!
Brian McCord
President
Sagacity Systems
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform