T
ThomasAJ
I have tried all sorts of double and single quote combinations but no way can
I passcommand line parameters to the database being opened.
eg
Set accessApp = CreateObject("Access.Application")
accessApp.OpenCurrentDatabase ("""Path\Task.mdb"" /cmd ""Event1""")
OR
accessApp.OpenCurrentDatabase ("'Path\Task.mdb' /cmd 'Event1'")
I keep getting an error message that the MDB is missing.
I passcommand line parameters to the database being opened.
eg
Set accessApp = CreateObject("Access.Application")
accessApp.OpenCurrentDatabase ("""Path\Task.mdb"" /cmd ""Event1""")
OR
accessApp.OpenCurrentDatabase ("'Path\Task.mdb' /cmd 'Event1'")
I keep getting an error message that the MDB is missing.