Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating all records changed in grid based on a view
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00225495
Message ID:
00225773
Vues:
11
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform