Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I base a grid on an array?
Message
From
29/04/1999 13:38:04
 
 
To
29/04/1999 11:04:56
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00213274
Message ID:
00213553
Views:
31
It depends on whether you want to display data elements from a cursor or an array in your grid. If you write all the array elements to a cursor before hand, then your grid will be using the cursor as its recordsource. The fact that the cursor was populated from an array is something that's irrelevant at this point (the grid could care less). If you actually want to display the data directly from the array, then you need to set the controlsource to the individual array elements with the row subscript of the array mapped to your dummy cursor and the column subscript hard-coded so, no, you can't skip setting the controlsource.

-JT
Jeff Trockman, MCP
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform