Automate Logon

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello
How to use a command line to automate the logon.
I used C:\Database\Chem\EasyTrack.mdb /user bassel/pwd 1234
but it didn't work. The logon screen pop up asking for password.

Can anybody help me.
Thank you and best regards
 
You need to include the full path to msaccess.exe when you use switches.
Also you need a space after the 'l' in bassel...bassel /pwd
 
Thank you for your reply.
It worked.
I have another question. I used the window scheduler to open the database
execute a query.
How to close the database auto after that
 
How are you getting the query to execute? Are you using the /x switch to
run a macro? If so you should be able to add the Quit action to your macro.
 

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

Back
Top