I am using VFP8.0. I am using a LOCAL VIEW. After editing an existing form with data, I have a button called SAVE. It does a :
TABLEUPDATE( 0 , .T. )
REQUERY("MyTableView")
If you leave the form by pressing ESCAPE or closing the form before pressing the SAVE button, it does:
TABLEREVERT(.F.,"MyTableView")
Here's my problem:
name = "me"
edit to = "YOU" && press save, shows "YOU"
edit to = "us" && press escape, shows "me" not "YOU"
How do I get the "buffer" to refresh to the SAVED info. I thought the TABLEUPDATE() & REQUERY() would do it.
Jim Rumbaugh
TABLEUPDATE( 0 , .T. )
REQUERY("MyTableView")
If you leave the form by pressing ESCAPE or closing the form before pressing the SAVE button, it does:
TABLEREVERT(.F.,"MyTableView")
Here's my problem:
name = "me"
edit to = "YOU" && press save, shows "YOU"
edit to = "us" && press escape, shows "me" not "YOU"
How do I get the "buffer" to refresh to the SAVED info. I thought the TABLEUPDATE() & REQUERY() would do it.
Jim Rumbaugh