on 09-23-2008 8:48 PM
Is it possible to have a container report have a mix of subreports that are portrait and some landscape? Is it possible to embedd the printer portrait/landscape control characters on each subreport so it prints properly? ...or something to print sideways for landscape subreports.
I am using VS 2008, Crystal 2008, Vista Business ...this is a windows application - not a web app.
When I mention container report, this is just a report that I use as a container for subreports.
Thanks,
Jeff
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jeff, thinking about how to do this I realize that there will not be a way to get this done, not for subreports. For individual sections without subreports, yes. E.G.; this can not be done in the designer and typically, if it can not be done in the designer, it can not be done at runtime.
While there is a way of setting a particular section to print a different orientation than the rest of the report, if there is a subreport in the section, the section's orientation property will not be passed on to the subreport.
Alternatively, 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.
Ludek
Nope. This used to be possible - to some extent pre CR 9. But the format has changed since than and I know for sure the escape characters do not get read. See [this|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do] Note (kbase).
Ludek
I ended up experimenting and getting it to work by making the paper 11 x 11. Then depending on the section width inside the subreport, I set the section orientation to match the orientation of the subreport.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.