Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TABLEREVERT to where?
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00514734
Message ID:
00514852
Views:
11
>Eric,
> I do the grid refresh. All looks fine until I add the new record after the TABLEREVERT, the new record contains data from the record that was? reverted, I just don't know where the problem is...TABLEREVERT command? dirty buffers? or ????

Without seeing exactly what your code is doing I would suggest trying Pessimistic buffering. The other thing I would try to avoid is APPEND BLANK.
If I'm writing my own Nav buttons I prefer to unbind my input controls and then do an INSERT INTO when the save button is clicked. If I want to revert, I just clear the controls and rebind them, then seek to the previously shown record and refresh. It's a manual approach but I always know exactly what is going on.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform