Using VFP 9
General Observation:
After appending a blank record and filling the record with a series of replace staments, I issue Tableupdate(). Subsequently Tablerevert() is issued. The record no longer exists.
***Form Init********
***Click Event of Save Button********
***Click Event of Reset Button********
I expected that once changes had been "committed" with tableupdate that tablerevert would have no affect.
I don't need help with a solution, but I'm interested in your comments on this behavior.
-- Chuck Davis
General Observation:
After appending a blank record and filling the record with a series of replace staments, I issue Tableupdate(). Subsequently Tablerevert() is issued. The record no longer exists.
***Form Init********
Code:
IF NOT USED("EVAL")
USE EVAL IN 0
ENDIF
SET MULTILOCKS ON
=CURSORSETPROP("Buffering", 5, "EVAL") && Set buffering mode
Code:
**Data Validation***
Append Blank
*
* Series of Replace Statements...
*
=TABLEUPDATE(.T.,.T.,"Eval")
THISFORM.BUTTONS.Reset.Click()
THISFORM.BUTTONS.EXIT.SETFOCUS
Code:
=TABLEREVERT(.T.,"Eval")
*
* reset values of form objects/properties...
*
I expected that once changes had been "committed" with tableupdate that tablerevert would have no affect.
I don't need help with a solution, but I'm interested in your comments on this behavior.
-- Chuck Davis