Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Confused about tableupdate....using view in grid
Message
De
17/08/1998 16:32:55
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00127443
Message ID:
00127537
Vues:
30
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform