Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Basics
Message
De
29/06/2011 16:58:18
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01516758
Message ID:
01516763
Vues:
84
>>Hi All:
>>
>>I'm embarrassed to say that I need a refresher in grid basics.
>>
>>My client as a grid with 10 rows, but only the first 3 rows are populated, since there are only 3 records which fot the criteria.
>>
>>How do I loop througth the grid, changing the value of a particular column and know that my task is at an end after line 3?
>>
>>Thanks,
>>
>>Yossi
>
>When working with grid, you're working with the underlying cursor (the one from the RecordSource). So, if 3 records are populated, the 7 others probably have nothing in one of the key fields. You can use it as your criteria.

Naomi:

Thank a lot. As usual, you are lightning fast.

1. Let's say that the underlying cursor is a table with 13 records. You're saying I should change the data directly in the table, not the grid. How do I know what record number to go to for each row?

2. One of the columns is a checkbox. I added it to the column and deleted the text box. Why can't I see the checkbox at runtime?

Yossi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform