PC Review


Reply
Thread Tools Rate Thread

How do I specify the password in this query

 
 
Phil Hunt
Guest
Posts: n/a
 
      24th May 2007
I spoke too soon. The query created by the wizard does not work. It still
block me.
Need help.

thanks

"Phil Hunt" <phung1010(remove this)@hotmail.com> wrote in message
news:%23Hkgl%(E-Mail Removed)...
>I got it using the wizard.
> DELETE FROM [myTable] In 'C:\Protected.MDB' [;PWD=xxxx]
>
> "Phil Hunt" <phung1010(remove this)@hotmail.com> wrote in message
> news:(E-Mail Removed)...
>> Hi,
>> 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'
>>

>
>



 
Reply With Quote
 
 
 
 
Dirk Goldgar
Guest
Posts: n/a
 
      24th May 2007
In news:e%(E-Mail Removed),
Phil Hunt <phung1010(remove this)@hotmail.com> wrote:
> I spoke too soon. The query created by the wizard does not work. It
> still block me.
> Need help.


You should be able to use either of these syntaxes:

DELETE FROM [myTable] IN "" "MS
Access;Database=C:\Protected.MDB;pwd=xxxx";

DELETE FROM [MS Access;Database=C:\Protected.MDB;pwd=xxxx].[myTable];


--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)


 
Reply With Quote
 
Phil H
Guest
Posts: n/a
 
      25th May 2007
Dirk,
I don't know how you found that out, but it works.
I am actually doing some update and insert this way. See if I can figure it
out or I'll be back.
Thanks


"Dirk Goldgar" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> In news:e%(E-Mail Removed),
> Phil Hunt <phung1010(remove this)@hotmail.com> wrote:
>> I spoke too soon. The query created by the wizard does not work. It
>> still block me.
>> Need help.

>
> You should be able to use either of these syntaxes:
>
> DELETE FROM [myTable] IN "" "MS
> Access;Database=C:\Protected.MDB;pwd=xxxx";
>
> DELETE FROM [MS Access;Database=C:\Protected.MDB;pwd=xxxx].[myTable];
>
>
> --
> Dirk Goldgar, MS Access MVP
> www.datagnostics.com
>
> (please reply to the newsgroup)
>
>



 
Reply With Quote
 
RBear3
Guest
Posts: n/a
 
      25th May 2007
Please fix your date/time. This post shows to be posted five hours from
now, but it was actually posted yesterday.

Thanks!


..

"Phil Hunt" <phung1010(remove this)@hotmail.com> wrote in message
news:(E-Mail Removed)...
> Hi,
> 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'
>



 
Reply With Quote
 
Phil Hunt
Guest
Posts: n/a
 
      25th May 2007
Hi,
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'


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XP Pro login anomaly: password query for non-password protected account Andrew Windows XP Performance 0 6th Feb 2008 08:04 PM
Re: How do I specify the password in this query Phil Hunt Microsoft Access 0 24th May 2007 07:19 PM
Password query! =?Utf-8?B?WWV6aW5raQ==?= Windows XP General 8 29th Nov 2005 05:12 PM
Password in Query Doug Microsoft Access Queries 8 25th Dec 2003 06:16 AM
Query Password Sarah Microsoft Access Security 1 11th Dec 2003 01:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:48 PM.