Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Basics
Message
From
29/06/2011 16:58:18
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01516758
Message ID:
01516763
Views:
83
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform