Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing print orientation at run time 1

Status
Not open for further replies.

samson123

Programmer
Jun 17, 2005
79
US
I am using Crystal XI

I need to change the print orientation at run time.

The report is already created, but I want to be able to change fields depending on options that the user selects. Certain of these options will cause the report to require more fields than the other options, so I will need to change the report to landscape.

 
I assume you are talking about an application (rather than simply Crystal). You could call a different report based on user choices...

hth,
- Ido

Visual CUT & DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Yes I am using VB 6.0 to call the report. So what you are saying is I will have to create 2 reports ? One to display in Portrait and other to display in Landscape...

I was trying to avoid having 2 reports..I was looking at some property that dynamically changes the report from portrait to landscape and automatically moves the field to suit the corresponding mode (landscape or portrait)
 
It is possible to change the report on the fly, but this requires a Report Creation API license and is more involved.

I think the 2 report approach would be a better choice in most cases...

hth,
- Ido



Visual CUT & DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
I do not wish to get any license ..SO i have to the 2 report approach..Thanks..

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top