Results 1 to 6 of 6

Thread: reports question...

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2002
    Location
    England
    Posts
    23

    reports question...

    hello all

    this my first thread in this forum .

    i am using data report in my program

    and i have a proplem :

    how to show the report in landscape ??? and print it ??

    thanks all
    please give ur self 5 minutes to learn about Islam
    [vbcode] for x = 1 to 100000000000000
    print "islam is the good road for peace"
    next x [/vbcode]

  2. #2

  3. #3
    Frenzied Member Mega_Man's Avatar
    Join Date
    Mar 2001
    Location
    North of England, South-East of Iceland
    Posts
    1,067
    VB Code:
    1. DataReport1.Orientation = rptOrientLandscape
    2. DataReport1.PrintReport
    Mega.
    "If at first you don't succeed, then skydiving is not for you"

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Oct 2002
    Location
    England
    Posts
    23

    hello

    i want to show it in screen first

    when i show it i have an error :

    "report width is larger than ....."


    please help
    please give ur self 5 minutes to learn about Islam
    [vbcode] for x = 1 to 100000000000000
    print "islam is the good road for peace"
    next x [/vbcode]

  5. #5
    Frenzied Member Mega_Man's Avatar
    Join Date
    Mar 2001
    Location
    North of England, South-East of Iceland
    Posts
    1,067
    The reason for your error is not the way you display the page but the way you have placed controls on it. You have violated the margins by placing controls too near to the edge. Either adjust the margins or move your controls in a bit. Once you have done this, your report will be displayed on screen in a landscape format.

    Mega.
    "If at first you don't succeed, then skydiving is not for you"

  6. #6
    Addicted Member
    Join Date
    Sep 2000
    Posts
    230
    Something I discovered was that the landscape mode was not even available until SP5. I assume that he already has SP5.
    Shawn Hull
    VB6, SP3 (Professional Edition)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width