Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find OldVal/CurVal in a grid Cell
Message
De
04/03/1998 20:07:11
 
 
À
02/03/1998 18:14:50
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00081976
Message ID:
00082599
Vues:
29
>>I need to tell what the oldval and curval is for a cell in a grid after each row change. I need to log this change as in "was" and "is now". Is there anyway that this can be accomplished? I've been up and down with before and after row column change but can't seem to detect the change.
>>
>>Thanks.
>
>Wouldn't know off the top of my head, really, but thinking of it, here's what I'd do: use table buffering, and scan the buffer (via getnextmodified()), and check the CurVal() and OldVal() for each of the interesting fields just before issuing a TableUpdate() for a row in a buffer. This way you can take the load off your grid and leave any heavy processing to the Save method, or where ever you think it's best to put this.

Thanks, buffering is where I was having the problem, it now works correctly.

Gary
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform