Hi Guys,
I have been trying to create a junction table to remove the need to use multiselect fields (as they are not very transferable to anything else!) and have got a bit mixed up as to how to do it and whether I need to have a unique ID for the junction table and how the foreign key relationship should work between my supplier and the container.
The example I have been using is to remove the container combobox from the services page on the supplier details form and put it on its own page "containers" in the form of a set of comboboxes with a datasheet view so that the user can chose multiple containers . I have tried this but am getting confused with the rowsources and control sources as I keep selecting the container in the combobox (which is in its own table and not reditable from this form ie the user should only be able to edit the container types from a separate form) and trying to put the resulting value somewhere but I am unsure as to how and where to save the selection as I keep getting a message in the bottom window saying "control cant be edited its bound to the expression [tblCont]![cont_ID].
So I am not sure whether my new junction table tblCont is actually what I should be using..
I have attached the database if anyone has any ideas as to how to fix it i would be very grateful!!
Thank you,
VB
I have been trying to create a junction table to remove the need to use multiselect fields (as they are not very transferable to anything else!) and have got a bit mixed up as to how to do it and whether I need to have a unique ID for the junction table and how the foreign key relationship should work between my supplier and the container.
The example I have been using is to remove the container combobox from the services page on the supplier details form and put it on its own page "containers" in the form of a set of comboboxes with a datasheet view so that the user can chose multiple containers . I have tried this but am getting confused with the rowsources and control sources as I keep selecting the container in the combobox (which is in its own table and not reditable from this form ie the user should only be able to edit the container types from a separate form) and trying to put the resulting value somewhere but I am unsure as to how and where to save the selection as I keep getting a message in the bottom window saying "control cant be edited its bound to the expression [tblCont]![cont_ID].
So I am not sure whether my new junction table tblCont is actually what I should be using..
I have attached the database if anyone has any ideas as to how to fix it i would be very grateful!!
Thank you,
VB