How do I do this ?

P

Phil Hunt

Hi,
I did not mean to re-post, but I gave myself the wrong answer. Here wer go.

I am running a query from a MDB to delete records from a table on another
location.
The other table is password protected so it kicks out. Is there a way to
specify the password in this systax ?

DELETE FROM [myTable] In 'C:\Protected.MDB'
 
J

Jerry Whittle

Another option: On the menu go to File, Get External Data, Link Tables. Find
the database and table which you want. You should be prompted for a password.
After that you should be able to delete records from that table with a simple
delete query.
 
D

Dirk Goldgar

In
Phil Hunt said:
Hi,
I did not mean to re-post, but I gave myself the wrong answer. Here
wer go.
I am running a query from a MDB to delete records from a table on
another location.
The other table is password protected so it kicks out. Is there a way
to specify the password in this systax ?

DELETE FROM [myTable] In 'C:\Protected.MDB'

See my reply in your original thread.
 

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