Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement