Hello..
Only few hours ago I created my first report in access(2003), so my question most likely is very stupid..
I found the sample code somewhere and modified a little bit...
I have a list box that displays the report names and when I double click I want to view the report..
See my code below in the double click event of the list box:
stDocName = Reports_LB.Column(1, Reports_LB.ListIndex)
DoCmd.OpenReport stDocName, acViewPreview, , , acDialog
It displays the report..but not full size...I can read the report. I cannot maximize..When I click on the report it becomes readable but the size of the form on which it displays is the same...so I have to scroll back and forth to view any one page..
Is there a way I can see the report in a readable format?
I created the reports using Wizard.
Thanks
Only few hours ago I created my first report in access(2003), so my question most likely is very stupid..
I found the sample code somewhere and modified a little bit...
I have a list box that displays the report names and when I double click I want to view the report..
See my code below in the double click event of the list box:
stDocName = Reports_LB.Column(1, Reports_LB.ListIndex)
DoCmd.OpenReport stDocName, acViewPreview, , , acDialog
It displays the report..but not full size...I can read the report. I cannot maximize..When I click on the report it becomes readable but the size of the form on which it displays is the same...so I have to scroll back and forth to view any one page..
Is there a way I can see the report in a readable format?
I created the reports using Wizard.
Thanks