Results 1 to 2 of 2
  1. #1
    Pasi is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Dec 2013
    Posts
    38

    Any way to automate bacth file not to ask for SQL pass word in MS access?

    HI ,
    I am trying to automate a batch file not asking for MS access SQL pass word. Here is how I am doing it but still asking for pass word: Note: " /x autoexec" is a macro that will be running.



    Below line works fine and it opens my access file to execute but still ask for password?


    Start "C:\Program Files (x86)\Microsoft Office\Office14\MSACCESS.exe" "P:\Information\Press \Press.mdb" /user=xxx /password =xxxx /x autoexec.

    Thanks!

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    Does your database link to a set of SQL tables? are the users of the SQL tables using the same ID's as their windows logins or are the logins for windows and SQL different (if you are using SQL)?

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Open word file off Access form
    By BorisGomel in forum Access
    Replies: 8
    Last Post: 07-12-2012, 12:01 PM
  2. Replies: 0
    Last Post: 03-07-2012, 08:10 AM
  3. Question on Macro to automate file import
    By delkath in forum Access
    Replies: 4
    Last Post: 05-25-2010, 04:28 AM
  4. Replies: 1
    Last Post: 09-06-2006, 11:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums