Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating table in grid
Message
 
To
03/05/2004 23:37:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00900600
Message ID:
00900614
Views:
17
why won't my grid update my table when i issue =tableupdate(.t.) ??? at form.load(), i have =cursorsetprop("buffering",5,"drs"). before edit command in my form, i set =cursorsetprop("buffering",1,"drs") then after user make changes to table drs, i use =cursorsetprop("buffering",5,"drs") again then =tableupdate(.t.).

Why You change the buffering, before edit, after edit?

Set in load (If you dont want to set it in DE)
cursorsetprop("buffering",5,"drs")
After Edit the table just put:
 SELECT Drs && not neccessery
 IF .NOT. tableupdate(0,.t.,"Drs")
    MessageBox("Update not successful")
    tablerevert(.t.,"Drs")
 ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform