Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Arrays as Rowsource for Grids
Message
 
To
01/07/2001 15:25:54
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00525680
Message ID:
00525808
Views:
12
This is very interesting, i'll give it a try...
>
>Yes.
>
>You do need a "shadow" table/cursor, however.
>
>This "shadow" only needs one field, should have the same number of records as rows in the array, and can be tied to a column that need not be visible.
>
>The columns that show array elements would have their ControlSource set to point to the array relative to the current RECNO() in the "shadow"; eg.
>
>
>.ControlSource = "My_Array[ RECNO() ]"   && One dimension array.
>
>
>
>.ControlSource = "My_Array[ RECNO(), column # expression ]"   && 2 dims.
>
Why do programs stop working correctly as soon as you leave the Fox?
Previous
Reply
Map
View

Click here to load this message in the networking platform