Using a Password With an SQL IN Clause

R

revans611

I am trying to delete records from an external database using a SQL IN
clause, but my syntax is obviously flawed. My code looks like this: DELETE *
FROM myTable IN "C:\myFolder\myDatabase_BE.mdb" ";PWD=abcd"

This gives me an error message that says my password is invalid although I
am using the same password in a SELECT statement without a problem.
 
T

Tom van Stiphout

On Mon, 19 Apr 2010 12:46:01 -0700, revans611

One workaround would be to temporarily attach the table, run the
Delete statement, and detach.

-Tom.
Microsoft Access MVP
 

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