Click to See Complete Forum and Search --> : Unnecessary Space
kamran123
November 20th, 2007, 01:28 AM
My crystal report is called from .Net application.Report shows unnecessary space b/w detail section and Footer Section.As we know report is shown in Browser(Report Viewer) I have already checked suppress blank section option for each section from Section Expert Dialouge.
But when i run it directly from Crystal Envirnoment it run well.
Please help me out
Lugh
November 20th, 2007, 09:21 AM
As a troubleshooting suggestion, put a text field in each of your suppressed sections, with the name of the section. See if any of those turn up.
Unfortunately, I don't have a better suggestion off the top of my head.
kamran123
November 21st, 2007, 12:23 AM
I forgot to mention that my report has two subreports.One located at Group's Heaerand and other located at Group's Footer,
When i run one of my sub reports Independently. it show three records.after that page is blank(Sub report Page size is A4)Even Main Report
Lugh
November 21st, 2007, 07:53 AM
Ah, that could have something to do with it. Is each subreport in its own section, or is it in a section with other elements? I highly recommend putting it in its own section.
Can you tell if the extra blank space is being generated in the subreport, or the main report?
Out of curiosity, is your query returning results that you then suppress in the report? Having a suppressed text box (or subreport) that actually has data in it may not count as a "blank" section.
My guess, at this point, is that you have some element in there that is being interpreted differently by the Report Viewer. Your first course of action needs to be to isolate which element it is. Adding lines and/or dummy text boxes is a good way to test where and when each section is getting printed. Once you can isolate where the problem is occurring, it becomes much easier to check why the problem is occurring.
As one odd thought, did you apply CSS formatting to anything on your report? It's not something that's done often. But, it's certainly something that could cause odd behavior in the Viewer.
kamran123
November 22nd, 2007, 02:05 AM
Firt of all i am very thank full to that you are replying me
Can you give me your email address that i can send you print view of my report.
Yes extra space is being generated in sub-report and even in main report but not very much.Sub report has three records(for ex) after that whole page is blank.Is there a way to remove it.
i suppressed only sections not fields.My report showing data.
In main report ,I have placed dummy text field in each section and report showing it .but there is extra space on report which i even could not understand what section is this.B/c no section name is mentioned .
My .Net form only has the report viewer control ,At run time my code report is assign to it.
Lugh
November 26th, 2007, 12:22 PM
You can send it to me at gmail. My email name is samldanach.
If you can save the report with data, and send the whole thing to me, that might work better. Then, I can try to manipulate it a bit.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.