Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
To View Or Not To View
Message
De
02/07/1998 11:17:17
 
 
À
02/07/1998 11:14:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00113500
Message ID:
00113789
Vues:
62
>>>Okay, I trashed the Requery stuff in my Grid.Refresh. And it works fine! Except I now get a "uncommitted changes in Buffer" message. I assume I need to issue tableupdate/tablerevert commands through an exit routine or as a modal form prompt to save changes or cancel in a method of my grid/page/or someotherplace?
>>
>>Yes, you should issue Tableupdate() to save data in table, or Tablerevert() to cancel data changes.
>
>Is there a "normal VFP" place to put the Tableupdate()/Tablerevert() commands, i.e. embed in a property, use with command buttons, etc.?

Under 'Save' button, you fire Tableupdate(), under 'Cancel' button you fire Tablerevert(). Also, you should implement some mechanism (update or revert) when user 'Close' the form without either saving or canceling.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform