Solved

Data Reporter in Landscape

Posted on 1998-12-20
2
147 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 50 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
add text to end of existing text in file 16 69
VBA open file from excel cell 4 36
Can we place a tooltip on the actual vb6 form 5 35
Passing a Text Box name to a Sub 6 78
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

896 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now