Visual Basic

Moderators: None (Apply to moderate this forum)
Number of threads: 17974
Number of posts: 55343

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
DataReport Posted by Cheyenne on 13 Mar 2006 at 4:40 AM
I try to write a VB6 program in whish I will use a report. I used the DataReport from
VB6. The main problem is that I can’t start the report in landscape, I always get the message “report width is larger than the paper width”.
I don’t have “Crystel reports” and can’t buy it.
Can someone give me a helping hand how to start the DataReport in landscape. I now that for printout one can choose between landscape and portrait but I need a page which has more place in the width to start with.
With regards
Cheyenne
Report
Re: DataReport Posted by grarun on 13 Mar 2006 at 12:21 PM
<grarun>

Hi!

You can use the orientation property of VB data report like this.

DataReport1.Orientation = rptOrientLandscape

!!You need to install Visual Basic Service Pack 5 to get that property.

</grarun>




: I try to write a VB6 program in whish I will use a report. I used the DataReport from
: VB6. The main problem is that I can&#8217;t start the report in landscape, I always get the message &#8220;report width is larger than the paper width&#8221;.
: I don&#8217;t have &#8220;Crystel reports&#8221; and can&#8217;t buy it.
: Can someone give me a helping hand how to start the DataReport in landscape. I now that for printout one can choose between landscape and portrait but I need a page which has more place in the width to start with.
: With regards
: Cheyenne
:




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.