Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mult-field LIST?
Message
 
 
To
26/04/2002 14:06:24
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00649361
Message ID:
00649735
Views:
11
Sorry, it was a long time ago I worked with 2.6. You can select into cursor instead of array and use that cursor as a source of the list.
 Select field1 + " | " + Select field2 + " | " + ..., * ;
  FROM mytable INTO CURSOR mycursor
>That's what I finally figured out. Now my drop down list looks great! Unfortunately, since it was just a single FIELD before, I could then go right to the recno() identified by double-clicking the list item. How do I extract the data selected in the drop down list so I can go the the right recno() of my (lookup) table. How do I identify which element of the list/array was picked? I hope I'm making myself clear? I can't seem to find much in any of my books on the list(dropdown) function.
>I'm sorry if I sound like a cry-baby. Some days we all need some hand-holding. Maybe what I need is a little head-slapping.
>Pete
>
>>Do select into an array and use that array as the source of the list.
 Select field1 + " | " + Select field2 + " | " + ... ;
>>  FROM mytable INTO ARRAY myarray
>>
>>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform