Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table Buffering & TableUpdate()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00080383
Message ID:
00080657
Views:
25
>>In my form, I am using Optimistic buffering. Since the form uses a grid to
>>navigate the table, and textboxes to change the rest of the fields, a Save
>>button is not needed.
>>Where is my best place to put the tableupdate() command. Is there a method on
>>the form or in the grid, to perform tableupdate() whenever a value chages.
>
>I think that you'd want to do a GETFLDSTATE(-1) in the grid's
>BeforeRowColChange, and if there was a 2, 3, or 4 in the returned string, you'd
>want to ask the user whether to save or cancel changes.

Stopping the flow of a user in a grid with a dialog box constantly asking if you want to save or cancel your changes would, in my opinion, greatly impede the users ability to get work done. If data entry errors are created, the user will eventually fix them. If the data entry does require strict editing, I'd be inclined to not use a grid for it.

Steve
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform