Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mult-field LIST?
Message
From
26/04/2002 14:06:24
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00649361
Message ID:
00649730
Views:
6
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
>
>
>>Forgive me for being totally dumb Sergey,
>> But I have been unable to figure out where or how to insert the variable into the list. There's nowhere in the dialog box to put in a variable string. There's only FROM array; popup, files, field, dbf structure. I haven't been able to get any of these items to take a variable. Could you please tell me the secret?
>>Tanx
>>Pete
>>
>>>You've to concatenate the fields into one string and use it in the popup. Don't forget to use non-proportional font for that popup.
Select field1 + " | " + Select field2 + " | " + ...
>>>
>>>>Hi all,
>>>>I'm in need of a multiple field LIST drop-down. No problem in VFP, but I can't see any way of doing it in FPW2.6. One field per LIST is all I can see.
>>>>Can anyone enlighten me or tell me it can't be done or show how I can create the same effect?
>>>>
>>>>TIA
>>>>Pete
Peter Adams
FoxPro Programmer
Compu-Mail

Heisenberg was probably right...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform