Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Arrays as Rowsource for Grids
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00525680
Message ID:
00525806
Views:
14
Well the grid is not editable, but works on a small set from a big table and has clickable headers wich set filter to the field this header represents ( paramet. view is out of the question ), so i use set key and then set filter for every header click. This works fine, but the fields i set filter on must be from the rowsource of the grid, and not from a different table. So, obviously, the only method left is to create a cursor. This is also a good idea since i can create the cursor in the local disks for every workstation, taking a lot of burden out of the net traffic.
Anyway, thank you all for your so prompt reply!

>No, you cannot. If you want to display the data, maybe you should question whether an array is the right storage mechanism. Rather, a cursor maybe the way to go. If you need data binding, consider using an ADO recordset instead. Then, you can use an OLE-DB Grid for display. And, if you need to pass the data around to different procedures/methods, you can easily pass an ADO recordset.
>
>
>>In VFP 7, is it possible to set an array as Rowsource for a grid?
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