hi
I have an access database which is used to run automated reports from a scheduled task using a macro to call vba code.
The vba code uses the
and also uses
Recently the DoCmd.OutputTo has been failing to create the reports at the specified location and yet generates no errors even when stepping through the code line by line.
Each of the reports are opened in turn and displayed on screen for a while before writing to the output file as an RTF.
I have checked all permission etc. The same result happens on my pc as it does when automated through the scheduled task on the server.
Does anyone know why this is happening?
Regards
I have an access database which is used to run automated reports from a scheduled task using a macro to call vba code.
The vba code uses the
Code:
[COLOR=blue]DoCmd.OpenReport[/color]
Code:
[COLOR=blue]DoCmd.OutPutTo.[/color]
Recently the DoCmd.OutputTo has been failing to create the reports at the specified location and yet generates no errors even when stepping through the code line by line.
Each of the reports are opened in turn and displayed on screen for a while before writing to the output file as an RTF.
I have checked all permission etc. The same result happens on my pc as it does when automated through the scheduled task on the server.
Does anyone know why this is happening?
Regards