Results 1 to 15 of 15

Thread: Report Width is Larger than Page width

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2008
    Posts
    11

    Post Report Width is Larger than Page width

    I generate a data report from my application. I have seen to it that i have no extrs spaces but when i deploy the package and try to generate the report i get the error "REPORT WIDTH IS LARGER THAN PAGE WIDTH". It runs on the m/c i developed it perfectly but not on another machine...
    Please help me out on this....

    Thank You

  2. #2
    Hyperactive Member
    Join Date
    Jul 2007
    Posts
    479

    Re: Report Width is Larger than Page width

    Different printers have different white space around the edge of the page. Are there two different printers?

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2008
    Posts
    11

    Re: Report Width is Larger than Page width

    no actually the report just does not show up getting printed is secondary...
    i am just not able to see my report when i click the button to generate it....
    and about the printers all the comps are connected to the same printer...

  4. #4
    Hyperactive Member
    Join Date
    Jul 2007
    Posts
    479

    Re: Report Width is Larger than Page width

    Displaying still requires the printer settings on the individual computer. I would still look at the settings on both, especially the landscape vs. portrait setting. What do you have on the report that might cause it to go wide?

  5. #5

    Thread Starter
    New Member
    Join Date
    Jun 2008
    Posts
    11

    Re: Report Width is Larger than Page width

    the comp on which i developed the application shows up the report perfectly and the i see no scope of wideness especially in landscape mode. When i run it on another i have the problem. Now what i am thinkin of is that i will alter the report on a comp on which it does not right now...
    i will make it work there and then create a new package from that comp and then use it again for the other computers do u think this will solve the problem...
    i even read it sumwhere that its a bug in visual studio from microsoft side to solve i must download the service pack 6 of VS i even did that but no results...

  6. #6
    PowerPoster
    Join Date
    Sep 2005
    Location
    Modesto, Ca.
    Posts
    5,509

    Re: Report Width is Larger than Page width

    Your printer setup may need to be adjusted, also, have you set the right and left margins to zero?

  7. #7

    Thread Starter
    New Member
    Join Date
    Jun 2008
    Posts
    11

    Re: Report Width is Larger than Page width

    The problem is i am not able to display my report itself during run of the project in VB how is it connected to the printer setting at that point of time, yes it will surely be dependent on it when i try to print the report.

  8. #8
    Hyperactive Member
    Join Date
    Jul 2007
    Posts
    479

    Re: Report Width is Larger than Page width

    Haven't display fonts been dependent on the printer for like, 10 years now since going to Windows printer drivers? Until you are willing to look at the printer settings on each computer to see if there are any differences in them it's hard to know where to look next.

  9. #9

    Thread Starter
    New Member
    Join Date
    Jun 2008
    Posts
    11

    Re: Report Width is Larger than Page width

    ok the comp i work on has lanscape as setting and my laptop has potrait will it have a affect......
    i tried to troubleshoot this prob i again created a dummy report with the same database... i included only 2 fields at the first time it successfully worked on both the machines but then as soon as i increase the number of fieds inthe report the problem persists, but still works on my working m/c but not on my laptop.....
    Can u people plz tell me where i can learn gud about crystal reports and also is it possible to work on data reports at runtime .. iwill ask the Q's related to it later..

  10. #10
    PowerPoster
    Join Date
    Sep 2005
    Location
    Modesto, Ca.
    Posts
    5,509

    Re: Report Width is Larger than Page width

    At runtime you can modify most of the datareport properties. If you want the report to print in landscape then:

    Code:
    rpt1.Orientation = rptOrientLandscape
    Do a search in this forum and you'll find lots of examples.

  11. #11

    Thread Starter
    New Member
    Join Date
    Jun 2008
    Posts
    11

    Re: Report Width is Larger than Page width

    ok that will be helpful but apart from this are there any other manipulations possible at runtime on datareports.... like if a user wants a report of just 2 fields generated or may be 5 depending upon the situation... in simple can i decide the fields i want in the report at runtime.....

  12. #12
    PowerPoster
    Join Date
    Sep 2005
    Location
    Modesto, Ca.
    Posts
    5,509

    Re: Report Width is Larger than Page width

    You can assign fields to text boxes at runtime but you can't add text boxes or labels at runtime.

  13. #13

    Thread Starter
    New Member
    Join Date
    Jun 2008
    Posts
    11

    Re: Report Width is Larger than Page width

    ok but what i am asking is can i allow the end user to decide what fields he wants at run time in the datareport...
    ex: 1st time i generate the report i display the name and the address... 2nd time i generate the report i wanna only have the report with the name, dob,and may be the designation....
    I think if this is possible it will be really helpful to me... till now what i do is i physically drag and drop the fields into the report using the data env and the connection... so is all this in runtime possible....?

  14. #14
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: Report Width is Larger than Page width

    Is it possible yes. Is it expensive yes. Is it exreamly time consuming to code and extremly expensive YES
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  15. #15

    Thread Starter
    New Member
    Join Date
    Jun 2008
    Posts
    11

    Re: Report Width is Larger than Page width

    ok but still i will have to do it coz it makes things gud and easy for me...

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