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
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?
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...
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?
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...
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?
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.
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.
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..
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.
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.....
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.
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....?
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
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...