Combo Box Unique Value Error on Tab

cardgunner

Registered User.
Local time
Today, 15:12
Joined
Aug 8, 2005
Messages
210
I created a form and in the form I placed a combo box. I set the row source to a query built of a single table. Bound Column =1. Column Count=5. Column Widths = 0",1", 1", 1", 1". List Wdth=4". Column main.id, main.search, main.c_name, main_add1, main_state.

In Form view I select the record I'm looking for and tab. After tab I get an error stating "Changes to the table was not successful because it would create duplicate records..."

I don't get it.

This is in Access 2007.

Any help is appreciated.
 
If you're using the combo to find records, it should not be bound to the table (it shouldn't have a control source). Is it?
 
It is for searching purposes. the control source is main.id.
 
I guess I need to do some research then becasue now I'm uncertain how to get my subforms to link to this. Was I able to do this in Access 2003. It's been a long time but I thought I do this before.
 
Well I added the subform and linked it up but uncertain on how that worked.

In anycase thanks for your solution.
 
No problem. You can still use the master/child links, but you have to manually specify the combo.
 

Users who are viewing this thread

Back
Top Bottom