Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hooking an array to a grid?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00109635
Message ID:
00110579
Views:
10
If you want a spread shhet just use excel since you don't seem to have the data in a data table anyway. of flip the data into a 22 clumn 14 row cursor and manipulate that in a grid

Peter



My on-screen grid will be 14 high by 22 wide only. The data being displayed will be from an array which may very well be much larger. I can write a routine to put the array into the applicable cells on-screen, but I was hoping to get help deciding how to go about it.
>
>Thanks for all your help so far! - Gerry
>
>>>I understand what you're saying but the problem I have is that VFP tables/cursors are limited to 255 fields, which isn't enough for the 3-day maximum I may need to track. Another way I could go would be to have record info be displayed vertically, instead of horizontally - but I have no idea how to do that.
>>>
>>>- Gerry
>>
>>You can go around 255 field limits (i just wonder if grid with so many columns is usable at all) by either adding calculated columns, or setting one-to-one relation to another table.
>>Surely, vertical grid is availble too, it's just a question of time you are ready to invest here :). Nothing can prevent you from recollecting data from one cursor to another. If you feel comfortable with array manipulation here, no problem again:
>>Select ... Into Array
>>*** modify your array (i guess you want to mix rows and columns)
>>Insert Into ... From Array
Peter Cortiel
Previous
Reply
Map
View

Click here to load this message in the networking platform