Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with Selecting a value in a combobox
Message
 
 
To
16/08/2004 10:23:34
Randy Wessels
Screentek Business Solutions, Llc.
Phoenix, Arizona, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00933440
Message ID:
00933876
Views:
25
>Larry,
>
>Thanks for your help. I just my last question is when you populate a combobox with a series of values (with either fields or alias), they automatically get assigned a sequential number? How to you match that number with the actual value in the first field. My lookup screen does not necesarrily know which sequantial number to use, but I assume there must be some lookup command to lookup a data element in the list?
>
The ListIndex Property should return the position in the combobox.

- To solve your problem, try one of these:
THISFORM.myComboBox.Value = "value returned from second form"
or
REPLACE ordnum WITH "value returned from second form" IN chgorders
You may need to follow either with:
THISFORM.myComboBox.Refresh().
- Andy Rice
San Diego, CA
Previous
Reply
Map
View

Click here to load this message in the networking platform