Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting cursor location in grid
Message
De
30/01/2007 10:18:46
 
 
À
30/01/2007 10:16:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01190462
Message ID:
01190465
Vues:
14
>Hi all
>I have a grid wich base on cursor something like this:
create cursor mycompny (company c(4),orders i, income i)
>insert into mycompny values ('ABC',4165,1984)
>insert into mycompny values ('DEF',986,1989)
>insert into mycompny values ('GHI',198,873)
>insert into mycompny values ('TRE',4853,8548)
>select mycompny
>brow
Now, I have down another grid base cursor for details - If the user hold in the top grid line2 in column orders I want to give the orders information for company DEF, if he hold in the top grid line3 in column income I want to give the income information for company GHI etc.
>Can I get it?

You may call some code from grid.afterrowcolumnchange event to collect child record to another cursor. This event code is usually triggered by some property (you may see it in existing code).
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform