Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 8th, 2004, 09:57 PM
Authorized User
 
Join Date: Sep 2004
Location: , , .
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
Reply With Quote
  #2 (permalink)  
Old September 9th, 2004, 11:57 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Alameda, ca, USA.
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 12:22 PM.


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