Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change orientation of reports by code?

Status
Not open for further replies.

Petemush

Technical User
Jun 21, 2002
255
GB
Possibly should post this in the reports forum but I thought this might be better since I don't knpw how advanced the code might be.

Basicall, I want the orientation of a report to be different for different reports. Therefore I'll want to change the orientation on the On Open event.

Does anyone know of the code/command to do this?

Cheers,

Pete
 
There is an AcPrintOrientation class defined with 2 enumerated contstants, acPRORLandscape and acPRORPortrait. I'm not sure how you use them, but maybe this will at least get you started.

Good Luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top