Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting cursor location in grid
Message
 
 
À
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:
01190473
Vues:
12
>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?

Just use MyCompny.Company field to get data for the details grid. It will use information from the record you're currently sitting on in the top grid.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform