I have a report which contains multiple pages. Is there any possibility to use a design for the first page and on the other pages to have a different one? If so, how can I achieve this? Thanks
It's possible to combine landscape and portrait subreports, you need a new section for ever subreport.
Right click on one of the section and select "Section expert", from here you can add new sections by clicking on an existing section (header, details, footer) and the Add button on the "Paging" tab on the right you can decide the orientation of you section (Default (portrait), landscape and portrait).
Now create your subreport and put it in the new section.
For a portrait subreport just follow the default creation procedure.
For a landscape subreport create a landscape oriented section and in the subreport set landscape orientation in each section of the subreport.
Page Header and Page Footer won't allow you to change the orientation, so in your landscape subreport suppress those section without drill down (right click on the section to find this option) or Crystal Report will act weird and create a new page for every section with different orientation and suppressing them will prevent this situation.
Related
The TextObject "I. PENGEMBANGAN SISTEM & PROSEDUR" won't appear on preview/print mode, only appears on design mode. Please help and show me step by steps. I'm new to this Crystal Report, Thanks.
Here is design mode ScreenShot:
Design
Here is preview mode ScreenShot:
Preview
Crystal report works in following way:
Report Header //Prints once for report same holds true for report footer
Page header //Prints for every page same holds true for page footer
Details //Prints for every record
When certain section doesn't fit in space left in a page then the whole section will be pushed to next page, In your case since you placed your data in detail section and data in detail section doesn't fit in page 1 full section is pushed to page 2, hence you are able to see in page 2 instead of page 1
To solve this Right Click Page Header --> Insert section Below
Now take your data from details and place in page header
This is one way of solving the issue, let me know your input
I want to display report header in every page of my cross tab report in Crystal Reports 13. Currently the header only appears on the first page. How can I fix this problem? Kindly suggest me.
Check bellow screen shot
Page 1:
Page 2:
Design View:
Right click on the selected fields in report header and go to format and check option Repeat on Horizontal Pages so that it applies for every page
Finally I solved the problem to display header for cross tab report in each page.
1.Create a formula using bellow code
WhileReadingRecords;
""
2.Create a Group Field using that formula field (which is empty group)
3.Crete Cross Tab Report inside of group header section.
4.Finally place my report header inside of page header section.
Now its working according to my demand and display report header every page
Thanks all of you
Check bellow screen shot
You have to do following things:
right-clicking on the row header
select Row options
select Repeat Labels on Page break
Crystal Reports lets you designate report objects that don't expand horizontally, such as text objects, field objects, OLE objects, charts, maps, lines, boxes, and so on, to be repeated on each additional horizontal page that a Cross-Tab creates.
Check this for help.
Also, similar question How to repeat Crystal Report Header on each page answered by me here. If you still after this links don't get solution, feel free to ask so we go into details of your cross-tab etc...
There are two kinds of headers in Crystal Reports. There are Report Headers (which you're currently using) and there are Page Headers (which are what you want to use in this case.)
A Report Header will only display once - on the first page.
A Page Header will appear on every page. (Unless you
specifically tell it not to.)
Move the circled fields into a Page Header and suppress the old Report Header you were using before. If all goes well, you'll see the circled field on every page going forward.
One other possible approach would be to insert a separate section above each crosstab that will contain your repeating Page Header. (Section Expert -> Insert) or (Right click Section -> Insert Section Below)
Then for the aforementioned inserted section, force a page break before. (Section Expert -> New Page Before)
Repeat this step for each Report Header section that contains a crosstab. The downside is that you will have many pages depending on the number of crosstabs in your report. Hope it helps.
I need to create a report with a subreport, but the main report has vertical orientation, and I need that the subreport has horizontal orientation, the problem is when I change the page orientation in the subreport, change in the main report.
If someone know how to put diferent orientation in the main and the subreport, please tell me.
Thanks
Place the subreport in its own section. Then, in the Section Expert for the section in which the sub report resides, set the orientation of that section to landscape.
I was able to change the layout of sub-report by going to section expert of sub-report sections and changing layout there, individually for each section.
Placing sub-report in a separate subsection was not required in my case.
Thank you
I am preparing a report and currently I have a portrait and landscape subreports, I want to mix them in one report.?
It's possible to combine landscape and portrait subreports, you need a new section for ever subreport.
Right click on one of the section and select "Section expert", from here you can add new sections by clicking on an existing section (header, details, footer) and the Add button on the "Paging" tab on the right you can decide the orientation of you section (Default (portrait), landscape and portrait).
Now create your subreport and put it in the new section.
For a portrait subreport just follow the default creation procedure.
For a landscape subreport create a landscape oriented section and in the subreport set landscape orientation in each section of the subreport.
Page Header and Page Footer won't allow you to change the orientation, so in your landscape subreport suppress those section without drill down (right click on the section to find this option) or Crystal Report will act weird and create a new page for every section with different orientation and suppressing them will prevent this situation.
At the end you will have a situation like this
If a main report is set to portrait orientation and the subreport is set to landscape, the subreport will print landscape, on a portrait oriented page, thus resulting in data being cut off. In the reverse scenario, main report is landscape, subreport portrait, the subreport will print portrait on a landscape oriented paper and as above, data will be cut off.
I am using Crystal Reports 10. It doesn't has "Paging" tab in Section Expert. I believe mix page orientation is not possible in this version.
I want to set the Report Layout on client side So User can set report's layout Which may be Portrait OR Landscape after report shown. So user will have the option if data comes on half page then he can use landscape to print Report Otherwise Portrait.
If you're wanting to design two different report layouts in one RPT file and pick one at runtime, that's not really possible. If you're just wanting to know how to set the orientation, here are the properties for doing that:
cryRpt.PrintOptions.PaperOrientation = CrystalDecisions.Shared.PaperOrientation.Landscape
cryRpt.PrintOptions.PaperOrientation = CrystalDecisions.Shared.PaperOrientation.Portrait
cryRpt.PrintOptions.PaperOrientation = CrystalDecisions.Shared.PaperOrientation.DefaultPaperOrientation