Hello i have a listbox that is based on a array.
But the array is two dimensional.
When is say myArray i get the first dimension to see in the listbox but i want to see the second dimension.
How can i specify to display the second dimension of my array.
You're talking about FoxPro 2.6 for DOS / Windows, not VFP here ?
You can't AFAIK. Sorry!
It might be better to put the data into a cursor instead.
Like:
SELECT field1 + "|" + field2 FROM table INTO CURSOR temp
Then base the list on the cursor - you'll see 2 columns in the list seperated by the | character. The variable for the list will get set by the user selecting an item. In the Valid you can then GOTO that value in the temp cursor so you're then looking at what the user selected.
***************************************
Need help running those old FoxPro apps on modern systems?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.