Information générale
Catégorie:
Programmation Orientée Object
>>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
Cetin,
Thanks for the direction. I will check it out!
Précédent
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