Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating all records changed in grid based on a view
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00225495
Message ID:
00225773
Views:
12
Nick,
Have you set your buffering to Table Buffering? Also, if you are using VFP5 look at the parameters for TableUpdate(). You'll want to change the ".T." in the first parameter to "1" or "2" to update all rows.

HTH
Barbara

>I have a grid based on a view and I am typing in values in multiple rows. Next, I have a update button which updates my view. However It only seems to update the record on current record pointer in the grid. I want it to update all the records that were changed in the grid when ever I hit my update button. The following code is in my update button:
>
>cursorsetprop('sendupdates', .t.,'lv_fms_ord_pay')
>z = tableupdate(.t., .t., 'lv_fms_ord_pay')
>
>
>lv_fms_ord_pay is a local view. Help appreciated
>
>Nick
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform