Hi all,
Sorry to hassle you all with so many questions! Here is a couple more...
1) I was wondering if there is code that you can put behind a button so that when it is clicked on, it goes to a report preview and forces landscape orientation....
I currently have:
DoCmd.OpenReport stDocName, acPreview
And even though I have set the report as landscape, occassionaly it starts up in portrait!
2) I was also wondering what the best way to detect a report being empty (because it uses a query that returns no results) is? I would rather bring up a msgbox than have an empty report with errors on it...
Thanks..
Peter
Sorry to hassle you all with so many questions! Here is a couple more...
1) I was wondering if there is code that you can put behind a button so that when it is clicked on, it goes to a report preview and forces landscape orientation....
I currently have:
DoCmd.OpenReport stDocName, acPreview
And even though I have set the report as landscape, occassionaly it starts up in portrait!
2) I was also wondering what the best way to detect a report being empty (because it uses a query that returns no results) is? I would rather bring up a msgbox than have an empty report with errors on it...
Thanks..
Peter