Combo box with values taken from another database

Etrom

New member
Local time
Today, 14:21
Joined
Jun 12, 2013
Messages
6
Hi guys,
I'd like to create a combo-box in a database which takes its values from a field in a table in another db. Both of the dbs are on my computer.
How can I do that?
 
Try something along the lines of.. Using the IN Clause..
Code:
SELECT someFields FROM theTable
[COLOR=Red][B]IN[/B][/COLOR] "C:\FullPath\ofTheDB.mdb";
 
Last edited:
I would link the table from the other database.
It can also be done with code.

Dale
 
Great eugine, I think it should work.

I would link the table from the other database.
It can also be done with code.

Dale


By the way, rzw0wr, how can I link a table from another database?
 
The same way you link to a back end.
External Data tab/Access/Browse
Find your file/Click open/Select Link tot the data source and click OK.

Dale
 
Side note here, the linked table does not have to be related to the other tables in the database.
It would be nice if it were but does not HAVE to be.

Dale
 

Users who are viewing this thread

Back
Top Bottom