Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List Box Question
Message
From
26/11/2001 11:41:18
 
 
To
26/11/2001 11:20:16
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00585761
Message ID:
00585781
Views:
22
>>I have been driving myself insane trying to get a value returned from a list box. I know it can't be as difficult as I'm making it out to be. The list box has 7 columns. I want to return the value that's in the seventh column. This column contains a unique ID which would be used to do further work via SQL statements. I populate the list with an array. Users need to see the other 6 columns to make a decision on which to pick. I can return the value of the user's pick, ie the row number of their pick, but not the actual value. What am I missing?????
>>
>>Many thanks.....
>
>Greg,
>
>You could try:
>
>uSelectedValue = FORM.listbox.LISTITEM(FORM.listbox.LISTITEMID, 7)
>
>HTH
>MIke

Mike,

Thanks....the problem was BoundTo=.f. rather than .t. Everything now works as it should.

Greg
Previous
Reply
Map
View

Click here to load this message in the networking platform