Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Re: Orientation of Reports


Message #1 by "Houssam Zaza" <hozaza@y...> on Wed, 23 Oct 2002 09:50:39
Houssam Zaza:
Hello You can solve this problem by first getting sp4 than to use report 
orientation not the printer.orientation thingie

Well you can use as solution
2 buttons or options each one containning the following code
Button1
DataReport1.Orientation = rptOrientLandscape
OR
Button2
DataReport1.Orientation = rptOrientPortrait


'rptOrientDefault = 0  <---- Like the orientation numbers'
'rptOrientPortrait = 1 <----
'rptOrientLandscape = 2<----

Don't worry it will work at runtime :) Good Luck 

And i wanna ask a Question back do you have to design your report to 
Landscape fitting paper or you can use some propreties?


> Hi Guys
> 
> I have a problem regarding the Data Report.
> e.g.,
> I designed two reports 1-Potrait and the 2-landscape.
> My default printer is set as Potrait.
> My reoprt No. 1 executes well.
> But my report no 2 create a error that
> "Report Width is Larger than Paper Size."
> 
> Then i must change the oriendation of my default printer.
> 
> Please help me to solve this case.
> I want to change the printer orientation through the code.
> 
> 
> 
> Thankz
> 
> RANA
> 
> Shahid713@y...
> 

  Return to Index