Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
My script below bombs at the oApp.run line - error message missing parameters. Can someone give me a clue. Thanks
MyDb = ObjectOpen("Access.application") oApp = MyDB.application cmd = oapp.Docmd dbname = "F:\Work\Test.mdb" Mydb.openCurrentDatabase(dbname) Mydb.visible = @false oApp.run "Refresh("F:\Work","Test.mdb")" Mydb.closeCurrentDatabase oApp.quit
Give this a try:
oApp.run("Refresh","F:\Work","Test.mdb")The syntax is app.run (procedure, param1, param2)
Article ID: W16098
File Created: 2004:03:30:15:42:50
Last Updated: 2004:03:30:15:42:50