U
ug
Hello ACCESS Freaks,
I want to print ACCESS reports using a scheduled task.
Therefore I set up an executable (AAA.vbs) within Windows
Scripting Host (WSH) commands like:
Dim objAcc
Dim strDBName
Set objAcc = WScript.CreateObject("Access.Application")
strDBName = "Z:\Test\Northwind.mdb"
objAcc.OpenCurrentDatabase strDBName
objAcc.DoCmd.OpenReport "Catlog"
objAcc.Quit
This works properly for a database that is not user
secured.
I'm looking for a command that will open the database
using a workgroup information file (.mdw).
Which parameter do I have to use?
Help is very appreciated, thanks.
ug
I want to print ACCESS reports using a scheduled task.
Therefore I set up an executable (AAA.vbs) within Windows
Scripting Host (WSH) commands like:
Dim objAcc
Dim strDBName
Set objAcc = WScript.CreateObject("Access.Application")
strDBName = "Z:\Test\Northwind.mdb"
objAcc.OpenCurrentDatabase strDBName
objAcc.DoCmd.OpenReport "Catlog"
objAcc.Quit
This works properly for a database that is not user
secured.
I'm looking for a command that will open the database
using a workgroup information file (.mdw).
Which parameter do I have to use?
Help is very appreciated, thanks.
ug