I have a access database (a report scheduling application) that cycles through a recordset and opens various access databases on our server created by other developers and runs reports from them on specific dates. My problem is that shellandwait won't work since the calling application is Access. I need to wait until the report has completed before executing another report or all of the reports for that day/time will try to run at the same time.
When using the FAQ shellandwait, I never get a message box using this code:
Dim retval As Long
retval = ExecCmd("C:\Program Files\Microsoft Office\Office\msaccess.exe " & rst!FileName & " /x " & rst!MacroName)
MsgBox "Process Finished, Exit Code " & retval
Any suggestions?
Trisha
padinka@yahoo.com
When using the FAQ shellandwait, I never get a message box using this code:
Dim retval As Long
retval = ExecCmd("C:\Program Files\Microsoft Office\Office\msaccess.exe " & rst!FileName & " /x " & rst!MacroName)
MsgBox "Process Finished, Exit Code " & retval
Any suggestions?
Trisha
padinka@yahoo.com