Connecting Tech Pros Worldwide Help | Site Map

Read Reports in Landscape

Newbie
 
Join Date: Sep 2006
Posts: 18
#1: May 6 '07
Hi Everyone, I have a big database that I am building, very simple, but very annoying. I keep changing certain reports to open in Landscape (by changing the setting in Page Setup) Only to find that the next time I open it it opens in Portrait! Can anyone give me a solution?
JConsulting's Avatar
Expert
 
Join Date: Apr 2007
Location: Houston
Posts: 601
#2: May 6 '07

re: Read Reports in Landscape


If you're making change in the page layout and saving them, then those changes SHOULD remain when the report is open again. Are you making the changes while the report is open in design view? If not, you should.
I'm also assuming there's not any kind of code in place to change the orientation at runtime?
msquared's Avatar
Administrator
 
Join Date: Aug 2006
Location: Dublin, Ireland
Posts: 10,865
#3: May 7 '07

re: Read Reports in Landscape


You have posted this question in the Articles section. I am moving it to the Access forum.

ADMIN
ADezii's Avatar
Expert
 
Join Date: Apr 2006
Location: Philadelphia
Posts: 5,213
#4: May 7 '07

re: Read Reports in Landscape


Quote:

Originally Posted by jennyp29

Hi Everyone, I have a big database that I am building, very simple, but very annoying. I keep changing certain reports to open in Landscape (by changing the setting in Page Setup) Only to find that the next time I open it it opens in Portrait! Can anyone give me a solution?

Try modifying the Orientation for the Printer specifically assigned for the Report:
Expand|Select|Wrap|Line Numbers
  1. DoCmd.OpenReport "Report1", acViewDesign
  2. Reports("Report1").Printer.Orientation = acPRORLandscape
  3. DoCmd.OpenReport "Report1", acViewNormal
Reply