G
Guest
I have Access2007 and I have developed a report with some fields,
pictureobjects and a small 'Microsoft Graph Chart' object down in the right
corner.
This Graph object handles its own data and are not dependent of the report.
In the following scenarios the Graph is VISIBLE
1. I open the report and view it on the screen
2. Using the method for print
DoCmd.OpenReport "Test", acViewReport, , "[Datum]=#" & Me!Datum & "#",
acWindowNormal
DoCmd.PrintOut
3. Using the method for print
DoCmd.OpenReport "Test", acViewNormal, , "[Datum]=#" Me!Datum) & "#",
acWindowNormal
In the following scenarios the Graph is INVISIBLE
1. I open the report and print it from the application menus.
2. Using the method for export to 'snapshot'
DoCmd.OpenReport "Test", acViewReport, , "[Datum]=#" & Me!Datum & "#",
acWindowNormal
DoCmd.OutputTo acOutputReport, , acFormatSNP, "Test.snp", False, , ,
acExportQualityPrint
3. Using the method for export to 'PDF'
DoCmd.OpenReport "Test", acViewReport, , "[Datum]=#" & Me!Datum & "#",
acWindowNormal
DoCmd.OutputTo acOutputReport, , acFormatPDF, "Test.pdf", False, , ,
acExportQualityPrint
Why is it VISIBLE in some situations and not in others?
My maingool is to have a VISIBLE Graph when I'm using the export methods.
Then users can view and print it by themselfs.
Any suggestions?
pictureobjects and a small 'Microsoft Graph Chart' object down in the right
corner.
This Graph object handles its own data and are not dependent of the report.
In the following scenarios the Graph is VISIBLE
1. I open the report and view it on the screen
2. Using the method for print
DoCmd.OpenReport "Test", acViewReport, , "[Datum]=#" & Me!Datum & "#",
acWindowNormal
DoCmd.PrintOut
3. Using the method for print
DoCmd.OpenReport "Test", acViewNormal, , "[Datum]=#" Me!Datum) & "#",
acWindowNormal
In the following scenarios the Graph is INVISIBLE
1. I open the report and print it from the application menus.
2. Using the method for export to 'snapshot'
DoCmd.OpenReport "Test", acViewReport, , "[Datum]=#" & Me!Datum & "#",
acWindowNormal
DoCmd.OutputTo acOutputReport, , acFormatSNP, "Test.snp", False, , ,
acExportQualityPrint
3. Using the method for export to 'PDF'
DoCmd.OpenReport "Test", acViewReport, , "[Datum]=#" & Me!Datum & "#",
acWindowNormal
DoCmd.OutputTo acOutputReport, , acFormatPDF, "Test.pdf", False, , ,
acExportQualityPrint
Why is it VISIBLE in some situations and not in others?
My maingool is to have a VISIBLE Graph when I'm using the export methods.
Then users can view and print it by themselfs.
Any suggestions?