Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Data Reporter in Landscape

Posted on 1998-12-20
2
Medium Priority
?
155 Views
Last Modified: 2012-05-04
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
Comment
Question by:niallmoore
2 Comments
 

Accepted Solution

by:
sujmags earned 150 total points
ID: 1451658
Just try setting the mode as Landscape in File>Print setup at
design time
0
 

Author Comment

by:niallmoore
ID: 1451659
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question