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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dynamically change width of report

Status
Not open for further replies.

pko123

Programmer
Apr 17, 2007
27
US
Hi,
We are looking for method to change width of report dynamically. That means.

We have a report with a parameter and based on parameter number of output columns will change along with Column heading. THere might be 50 columns for one parameter and maybe 5 coulmns for other parameter.

IS there any way we can acheive this request in crystal report?

we have created a stored procedure which has maximum number of output columns and based on parameter all output columns will be left shifted and rest will be null.

Problem is if for one parameter number of columns are 50 and width of report is 50 inch and for other parameter number of columns are 2 then there will be lot of blank space at right hand side of the report. Is there any way we can avoid this blank space at the end,

or any other method for above requirement.

thanks in advance
 
Crosstabs will automatically do at least some of what you want. Does that help?

[yinyang] Madawc Williams (East Anglia, UK). Using Crystal 11.5 with SQL and Windows XP [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top