IN clause on password protected external mdb

G

geoleo68

I'm trying to create a series of queries to append data from an external
password protected mdb file.

I can't find the correct way to structure the IN clause of my query to allow
access on the protected file.

Right now I have tried this

SELECT * INTO NewTable1 FROM Table1 IN "C:\MyDir\MyPwProtectedDB.mdb"

This causes an "Not a valid password" message when tried to be ran.

and this

SELECT * INTO NewTable1 FROM Table1 IN "C:\MyDir\MyPwProtectedDB.mdb
password=MyPw"

This causes a "Could Not find file" message.

Hope someone can help me out.
 
E

ErezM via AccessMonster.com

hi
why dont you link the to the tables you need from the other mdb file (the
password is needed only during the linking proccess and not afterwards)
then you can build your query on local and linked tables, all residing inside
your current mdb

Erez
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top