Okay, let's give a simplified example;
TABLES
tblCamera
**CameraID------Autonumber (Primary)
**CameraName---Text
**CameraPrice----Currency
tblProject
**ProjectID------Autonumber (Primary)
**ProjectName---Text
**CameraA-------Text (will hold value of 1st combo box selection)
**CameraB-------Text (will hold value of 2nd combo box selection)
FORM
frmProject (set to tblProject as it's source)
**txtProjectName (user input of new Project's name)
**cboCameraA (combo box set to tblCamera as it's Rowsource, and stores CameraID into field CameraA as it's Controlsource)
**cboCameraA (combo box set to tblCamera as it's Rowsource, and stores CameraID into field CameraB as it's Controlsource)
There's a few things I've discovered in setting this up;
- If I create a relationship with the table by creating a CameraID foreign key in tblProject, then both CameraA and CameraB will show the same selection if either one is selected. This is obviously because both combo boxes have the 'same' table as their Rowsource.
- If I create duplicate Camera Tables (exact same information but just copied for both cameras), then I can create foreign keys into the Project Table and CameraA / CameraB will have individual selections. However, I don't have just two combo box selections on my form....I have 50! So of course, making 50 copies of the same table is not only a generally bad idea, I don't even think a query would allow it.
So as you can see, I am limited to the tables not being joined, and my combo boxes looking up their list in the Camera table, so they can individually save their selections to the record.
Now we're back to my original question;
How can I setup a query with non-joined tables like this where the Camera's Name will show up?
Thanks and let me know if you want other info...