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:
00109728
Views:
26
>One of the problems I see with Foxpro is that it's limit of 255 fields per table/cursor. I have a possible need for 800+ horizontal cells to store data which I will to display on a 14 x 24 grid. HHHEEELLLPPP!!!

Not quite sure what you're doing, but to get a cursor that way you could do something like:

Create Cursor mycursor (col1 c(10),col2 c(10),...,col24 c(10))
then,

For ncount = 1 to 14
Insert into mycursor values(myarray(i,col#),myarray(i,col#),...
Endfor

just to give a rough idea...also, how about creating a small 24 column sub-array from the big one? Then you could do Create Cursor mycursor From Array...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform