Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids
Message
From
05/07/1999 09:04:58
Paul Frost
Instem Computer Systems Ltd
Stone, United Kingdom
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Grids
Miscellaneous
Thread ID:
00237462
Message ID:
00237462
Views:
42
Currently, my program (using VfP 5) allows entry of various bits of data, including one list. At the moment the list consists of a single string, so I use a list box to display the entered data. I am looking towards the list containing 2 or more related fields, some strings some numeric. What would seem appropriate is to move to a grid rather than list box, or trying to keep multiple list boxes synchronised on the form. Prior to entry into the table, the data is currently stored in an array, which is used extensively throughout the rest of the program. It would be a simple matter to convert the array to be multi-dimensional, but unfortunately I cannot see a way of associating array data to a grid.

Am I (as is not unusual), not reading the documentation thoroughly, or is it not possible to create a grid object using an array as the data source.

One method seems to be to create a temporary table & use that to access the grid & then repopulate the array from the table - but that seems to be a little bit excessive. Though it would be simpler than rewriting the program so that it used a temporary table rather than the current array.

Any help would be appreciated,
Paul
Next
Reply
Map
View

Click here to load this message in the networking platform