Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid ? for Grid Answers
Message
De
23/01/2002 04:36:20
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
23/01/2002 01:29:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00608804
Message ID:
00608827
Vues:
11
>I have a listbox and a grid on a form. The listbox controls the data the grid displays. I need to store the data in the row/column before the user changes it in order to test the value and do a tableupdate(). I'm having trouble figuring out how to get the value before and after the change. Then how do I know what field they changed. Do I have to do this in the textbox control of the column or can it be done in the before/after rowcolchange event of the grid?
>
>Thanks for Your help.

There are many ways. With BRCC-ARCC you could simply do this (assuming there is a custom property oRec) :
*BRCC
scatter name this.oRec
*ARCC
scatter name loRec
llSame = compobj(loRec,this.oRec) && All VFP versions
llSame = (loRec = this.oRec) && VFP6 and up

Also for buffered data check getfldstate().
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform