Print Page | Close Window

Hiding columns in Crystal Reports 10

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Technical Questions
Forum Discription: Formulas, charting data, Crystal syntax, etc.
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=98
Printed Date: 05 May 2024 at 7:21am


Topic: Hiding columns in Crystal Reports 10
Posted By: gupta_abhinav99
Subject: Hiding columns in Crystal Reports 10
Date Posted: 08 Jan 2007 at 7:17pm
We dont want to show some columns on the report based on user input. We are doing this by suppressing the columns based on the condition, but it creates a blank column space on the report. How do I get rid of that blank space at run time ?

Even while exporting to Excel (in data only mode), it does not delete that blank column space.




Replies:
Posted By: BrianBischof
Date Posted: 08 Jan 2007 at 8:14pm
You can't do it unless you have the developer edition. The best way to do this type of report is to build the report off a stored procedure or a DataSet object and then use aliases for each column name. That way you can dynamically build the list of columns you want to show and there won't be a gap between columns.

-------------
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>



Print Page | Close Window