G
Guest
In Access 2003, I have a one to many relationship in which an Order ID is the
primary key in one table and the foreign key in another table. In a form I
want to allow users to be able to either select a current Order ID (so
related information will appear in the form) or input a new Order ID in the
same combo box. The problem is that if the combo box has a Control Source of
the Primary Key Field, the user cannot select a previous Order ID b/c no
duplicate values are allowed. If the combo box has a Control Source of the
Foreign Key Field, the user can select previous Order IDs yet they cannot
enter new Order IDs because there is not a matching field for this new value
in the Primary Key table. How do I solve this dilemma? Thanks for your help!
primary key in one table and the foreign key in another table. In a form I
want to allow users to be able to either select a current Order ID (so
related information will appear in the form) or input a new Order ID in the
same combo box. The problem is that if the combo box has a Control Source of
the Primary Key Field, the user cannot select a previous Order ID b/c no
duplicate values are allowed. If the combo box has a Control Source of the
Foreign Key Field, the user can select previous Order IDs yet they cannot
enter new Order IDs because there is not a matching field for this new value
in the Primary Key table. How do I solve this dilemma? Thanks for your help!