Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
To View Or Not To View
Message
From
02/07/1998 11:17:17
 
 
To
02/07/1998 11:14:12
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00113500
Message ID:
00113789
Views:
60
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform