Isabel19
asked on
Need to print the report in both landscape and portrait format
I'm currently working on a .net (c#) crystal report and I need to format and print the report in both landscape and portrait format, e.g course basic infomation in portrait format and course details in landscape format.
I will give more details:
I have a main report and 3 sub reports. Basically, I need the subreports to be in landscape format while my main report is in portrait.
Can anyone tell me how I can achieve that?
Thanks!
Regards,
Isabel
I will give more details:
I have a main report and 3 sub reports. Basically, I need the subreports to be in landscape format while my main report is in portrait.
Can anyone tell me how I can achieve that?
Thanks!
Regards,
Isabel
ASKER
oh dear! but I need the parameters from main report......
there's really no other way?
Isabel
there's really no other way?
Isabel
i never tris it, doesnt sem like ossible but i will ook at the engine model to see if i can find a method
in the mean time, from the .code
you can set paper orientation
Crystalviewer1.papaerorien attion = landscape
Regards
Emre
in the mean time, from the .code
you can set paper orientation
Crystalviewer1.papaerorien
Regards
Emre
ASKER
ok thanks!
This definitely isn't possible using one single report. if you are using a c# front end application to generate the report you could possibly use code to generate the required parameters for multiple reports.
You can have multiple viewers on forms and set the Print event of the course basic report to print both basic and details reports.
HTH
Gary
You can have multiple viewers on forms and set the Print event of the course basic report to print both basic and details reports.
HTH
Gary
Can you clarify further.
What parameters do you require from main report?
What parameters do you require from main report?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Isabel,
As both Ido and Gary have told you, you cannot have both portrait and landscape printing from the same report.
If you need parameters then use your application to call two different reports with the same parameters.
frodoman
As both Ido and Gary have told you, you cannot have both portrait and landscape printing from the same report.
If you need parameters then use your application to call two different reports with the same parameters.
frodoman
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Emre,
I haven't tried it myself so I won't say 100% that it won't work but in a previous thread someone had tried it and it wasn't working for them. Seems that only the first one is accepted.
frodoman
I haven't tried it myself so I won't say 100% that it won't work but in a previous thread someone had tried it and it wasn't working for them. Seems that only the first one is accepted.
frodoman
ASKER
Hi all,
thanks for your feedbacks, as I had a very tight deadline and is impossible to spend time doing experiments I have restored to print everything in landscape.
Rgds,
Isabel
thanks for your feedbacks, as I had a very tight deadline and is impossible to spend time doing experiments I have restored to print everything in landscape.
Rgds,
Isabel
You need to split the report into different reports. Then print then manually or via a scheduler/report manager.
hth,
- Ido