>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