Hello.
Your help is very much appreciated.
I am using ACCESS 2002 (XP).
I have two access files - one program (with link tables) and the other one is the database.
I created ACCESS report.
When opening the report for viewing - it's all good.(
DoCmd.OpenReport "_rptDetails", acViewPreview
)
When trying to save the report to a file - Access saves it to a file and immidiately crashes.
(
stDocName = "_rptDetails"
DoCmd.OutputTo acReport, stDocName
)
when printing - it prints and crashes
(
stDocName = "_rptDetails"
DoCmd.OpenReport stDocName, acNormal
)
I tried:
1. To make the data source of the report a table instead of a query.
2. Complied the code again.
3. Copied everything into a new database.
4. Created a new report from scratch.
Nothing helps.
Would you have any idea of what causing the problem?
Thank you
Roy
Your help is very much appreciated.
I am using ACCESS 2002 (XP).
I have two access files - one program (with link tables) and the other one is the database.
I created ACCESS report.
When opening the report for viewing - it's all good.(
DoCmd.OpenReport "_rptDetails", acViewPreview
)
When trying to save the report to a file - Access saves it to a file and immidiately crashes.
(
stDocName = "_rptDetails"
DoCmd.OutputTo acReport, stDocName
)
when printing - it prints and crashes
(
stDocName = "_rptDetails"
DoCmd.OpenReport stDocName, acNormal
)
I tried:
1. To make the data source of the report a table instead of a query.
2. Complied the code again.
3. Copied everything into a new database.
4. Created a new report from scratch.
Nothing helps.
Would you have any idea of what causing the problem?
Thank you
Roy
Last edited: