Page Setup

arye9

New member
Local time
Today, 13:23
Joined
Jan 15, 2001
Messages
9
Hi,

Is there any way to change the Page Orientation (Portrait/Landscape) by VB?
Thanks
Arye
 
Yes there is - but it usually ain't worth it...

Read Chapter 10, "Access 97 Developer's Handbook" (one of the books recommended on this site at Advanced Books - Expensive? Yes ($50 US). Worth the price? You bet'cha!).

To paraphrase the book (3rd Ed.) about setting stuff like landscape vs portrait (from the Note on p. 594):

The job of a development tool like Access is to shield you from the details of the operating system.

The properties we're discussing here (setting orientation, paper size, paper length, etc.), however, are almost "raw". That is, there's almost no protective layer between you and the operating system when you're trying to modify these properties.

Setting a value incorrectly or using an inappropriate value for one of the properties will likely cause Access to crash. The routines provided in the book are as painless as possible, but be aware of how little of a safety net there is when working this close to the surface.

Unless I absolutely, positively had to have it, I'd use Page Setup.

Doug.

[This message has been edited by DALeffler (edited 01-25-2001).]
 
Thanks DALeffler
 

Users who are viewing this thread

Back
Top Bottom