Set Page Orientation using Crystal Reports in VB6
Posted on 2001-08-06
I'm using VB6, with Crystal Reports version 4.6.
Is there a way to set the page orientation from the VB code?
The vb program is accessing SQL7.0 tables, then using the call
crystal.action = 1
to open up the print preview screen. The page orientation always comes up with whatever the orientation is for the user's default printer.
I've allowed the printer setup box to be available so the user can manually change the orientation, but I would like to have it automatically change to landscape, since the report is made in landscape style.