Link to home
Start Free TrialLog in
Avatar of chaos_59
chaos_59

asked on

DBCombo box selection

I have a DBCombo box listing records from an access database. The field that is displayed in the combo box is not unique so many times an item will appear multiple times in the control. Each occurrence is for a unique record with different field values, they just have the same name. My problem is that when multiple items are listed and I select any of them the control always selects (.bookmark) the first occurrence. For example if records 19, 25 and 45 all have the description ABC, the control will display all 3 records, but no matter which one I select it always sets the .bookmark to record 19. Is there a way around this? Am I doing something wrong?
Avatar of chaos_59
chaos_59

ASKER

Edited text of question
You should give each record a unique ID, and use this ID to select the record.
This isn't an option. The database is already in use. The only unique part of the record is the record key, a numeric field that is meaningless to the user.
ASKER CERTIFIED SOLUTION
Avatar of raygibbins
raygibbins

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial