projecttoday
Registered User.
- Local time
- Today, 07:19
- Joined
- Jan 5, 2011
- Messages
- 51
I am trying to create a image from an Access report. This report has a chart on it. My Docmd.Outputto code doesn't seem to work right. I've tried
and
and the results are empty. Can you see anything obviously wrong with my code? I am a newbie with Docmd.Outputto.
I have attached mock-up database with this problem in it. The 2 statements above are included preceded by Stop's. Click on the button. These statements are supposed to create an image with rptNode on it. (I only need one.) Do they work for you? You may need to change the file path.
Thanks.
Code:
DoCmd.OutputTo acOutputReport, "rptNode", acFormatRTF, "C:\My Documents\rptNode.rtf"
and
Code:
DoCmd.OutputTo acOutputReport, "rptNode", acFormatHTML, "C:\My Documents\rptNode.htm"
and the results are empty. Can you see anything obviously wrong with my code? I am a newbie with Docmd.Outputto.
I have attached mock-up database with this problem in it. The 2 statements above are included preceded by Stop's. Click on the button. These statements are supposed to create an image with rptNode on it. (I only need one.) Do they work for you? You may need to change the file path.
Thanks.