I have created a SQL Server Database on one machine on my network, on another machine on the same network I have linked the database using MS Access. I have now created a macro to extract the databases on this machine, now the problem is that whenever I schedule this macro (by creating a batch file), the SQL Server login screen pops up and the macro doesnt advance.
How can I put the username/password automatically so that the macro can run in my absence.
Thanks in Advance
P.S following is my batch file to run the macro
Batch file: DailySalesExpor t.bat
REM This runs the macro that exports the reports to the J drive
PATH = "C:\Program Files\Microsoft Office\Office\; C:\Windows\Comm and"
START /WAIT Msaccess.exe "D:\GD SAM BACKUP\GDSAM.md b" /x backup
EXIT
How can I put the username/password automatically so that the macro can run in my absence.
Thanks in Advance
P.S following is my batch file to run the macro
Batch file: DailySalesExpor t.bat
REM This runs the macro that exports the reports to the J drive
PATH = "C:\Program Files\Microsoft Office\Office\; C:\Windows\Comm and"
START /WAIT Msaccess.exe "D:\GD SAM BACKUP\GDSAM.md b" /x backup
EXIT
Comment