nebakanezzar
Member
- Joined
- Apr 2, 2010
- Messages
- 6
- Programming Experience
- Beginner
Hey All,
first, this is an awesome site! what a wealth of info!
so, i am using VB express and access 2007. i have a combobox linked to be populated by an access table. this seems to work fine when i debug, but when i try and select an item in the combobox i get the following error:
"column 'Doc_ID' is constrained to be unique. value 8 is already present."
in the data binding i have it set as:
Data source - my datasource
display member - Doc_ID
value member - null
selected value - null
'Doc_ID' is the primary key in the table i linked. what i want to do is to be able to select an existing record in the combo box, which fills in texts boxes with he related fields of that record, and then edit the fields as/if necessary.
hope that makes sense.
Thanx.
first, this is an awesome site! what a wealth of info!
so, i am using VB express and access 2007. i have a combobox linked to be populated by an access table. this seems to work fine when i debug, but when i try and select an item in the combobox i get the following error:
"column 'Doc_ID' is constrained to be unique. value 8 is already present."
in the data binding i have it set as:
Data source - my datasource
display member - Doc_ID
value member - null
selected value - null
'Doc_ID' is the primary key in the table i linked. what i want to do is to be able to select an existing record in the combo box, which fills in texts boxes with he related fields of that record, and then edit the fields as/if necessary.
hope that makes sense.
Thanx.