• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 156
  • Last Modified:

Data Reporter in Landscape

How can I create a report using the new data report functionality in Landscape. The only way I can it to work is to create a commondialog that the user has to use to change from  portrait to landscape before running the report. I have tried changing the Commondialog programatically (CD.orientation =2 ). This doesn't work. It appears that the change from portrait to landscape has to be done physically. Any help would be most appreciated.
Thanks in advance.

Niall
0
niallmoore
Asked:
niallmoore
1 Solution
 
sujmagsCommented:
Just try setting the mode as Landscape in File>Print setup at
design time
0
 
niallmooreAuthor Commented:
I could have sworn that I had done this. However, it means that all reports have to be in landscape and users when printing "portrait" type reports have to change the print setup to portrait when printing.
However I have tried doing this and then generating the Landscape report and it still is generated in Landscape. So the change made to the print setup when printing the portrait report isn't saved and the portrait report can still be genertated. I also tried creating a word document and printing it in portrait and then generated my portrait report again.
So it appears to work.
Ideally however users shouldn't have to bother with changing print set up all the time.

Thanks again

Niall
0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now