Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Confused about tableupdate....using view in grid
Message
From
17/08/1998 16:32:55
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00127443
Message ID:
00127537
Views:
31
Josh,

Sorry, I forgot to mention that I changed that code. I've been trying different things trying to get this to work. Currently I have the buffering setup in the load event of the form right after the table is open, before the view is created. It still only updates the single detail record instead of the view/grid records.

This is the code I execute when the update all button is pressed:

SELECT grid
GO TOP IN grid
DO WHILE NOT EOF()
REPLACE noshow WITH "X"
SKIP 1 IN grid
ENDDO
GO TOP IN grid
ThisForm.Grid1.Refresh

SELECT gldent
REPLACE gldent.noshow WITH grid.noshow
Tableupdate(.T.)

With all the changes I tried, I'm back to REPLACE updating the single detail record, REPLACE ALL updates the entire table.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform