Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 8th, 2004, 09:57 PM
Authorized User
 
Join Date: Sep 2004
Posts: 13
Thanks: 0
Thanked 1 Time in 1 Post
Default Data Report: Orientation

Hi,

I want to adjust my data report to be landscape type of Orientation. But the problem is most code that i found is as below:

Quote:
quote:With myRpt

      .Hide
      .Orientation = rptOrientLandscape
      .refresh
      .show

End With
However, when i tried it, it keep coming out the same error message variable not defined and pointed to --> rptOrientLandscape.

Can someone help me? Thanks
 
Old September 9th, 2004, 11:57 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Black Devil,
click on .Orientation, press F1 (to get the help) or Ctrl+F2 (to get its definition in the object browser.) In both places you should get the correct spelling of its possible values.
If you know for sure that the orientation constants start with rpt, just type in rpt and press Ctrl+Space and see what the intellisense finds out.
Marco





Similar Threads
Thread Thread Starter Forum Replies Last Post
Crystal Report Changing Orientation garrysmith68 Beginning VB 6 0 June 6th, 2006 06:42 AM
Crystal Report Orientation = Landscape in asp agoz Classic ASP Professional 0 February 17th, 2006 04:15 AM
Object Orientation sreechand_b J2EE 0 June 3rd, 2005 03:56 AM
Report Orientation Problem echovue Access 1 January 11th, 2005 01:35 PM
Table Orientation blaflin BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 2 November 11th, 2004 01:36 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.