Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tracking which record changed in grid
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01624699
Message ID:
01624712
Vues:
46
>>>>>>>>Hi,
>>>>>>>>
>>>>>>>>I have a grid bound to a cursor. I need to track which rows of the cursor user "touched" (made changes). So I am going to add a column CHANGED L to the cursor. Then when user makes any change in any column of the grid row I will set the value of CHANGED to .T.
>>>>>>>>
>>>>>>>>But how do I determined which cursor row is currently in focus/selected? That is, when user click in any column of the grid row, the cursor row does not actually move there.
>>>>>>>>
>>>>>>>>What would you suggest?
>>>>>>>
>>>
>>>>why then, when I click into any cell of the grid and in the GotFocus check the value of the PK field and display in messagebox(), I see the same value? no matter what cell I click?
>>>
>>>What happens when you start typing and check in the LostFocus ?
>>
>>Same thing.
>
>How about InteractiveChange?

I was wrong. The grid is not bound to the cursor. I think I know what I need to do.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform