|
-
Jun 3rd, 2001, 07:00 AM
#1
Thread Starter
Lively Member
Two combo box questions
1. I want to have some 'hidden' values attached to my combo box. Basically, there are 3 fields I want the user to select (say Name, Code, Country), but I only want to show the Name in the combo box. The details are held in a DB but there may be duplicate Name fields, so I can't use a FindFirst method to get the record the user has chosen.
I was contemplating 2 arrays which are filled at the same time as the combo box, and then using ListIndex to retrieve the row of the array, but I'm not sure that's the best way.
2. What is the difference between
Code:
combo1.List(combo1.ListIndex)
and assuming that combo1 is set to the correct style (offhand I can remember that one of the styles doesn't allow you to retrieve the text property, I think)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|