Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: Suppressing Columns Post Reply Post New Topic
Author Message
Thara
Newbie
Newbie


Joined: 29 Sep 2011
Online Status: Offline
Posts: 8
Quote Thara Replybullet Topic: Suppressing Columns
    Posted: 27 Feb 2012 at 12:18am

In Crystal Report 2005,Is it possible to hide a column.I am able to able to suppress a field, and after suppression it is showing blank column. But how is it possible to hide the blank column.



Edited by Thara - 27 Feb 2012 at 12:31am
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 27 Feb 2012 at 4:11am
if you want your report to 'reclaim' the space used by the suppressed column, ie shift to cover the area...it can be complicated.  If it is only 1 column, life isn't too bad.
On the other hand, there isn't a Crystal 2005, are you referring to the version that came with VS2005? If so you might be out of luck....
 
Right click on a field, if there is an option 'Size and Position' then you can craft a 'formula' using the x-2 button to shift your columns left or right by an amount x. 
The caveat here is that the amount moved is in twips, which are 1440 to the inch.  So to move column to the left by 1 inch you would put in the (original location * 1440) - 1440 in an if statement so that it only moves if some condition is met.
 
You can have multiple fields suppressed but you will need to have a mechanism to account for which fields are how big and how to shift the fields around.
 
I have done this once for an entire report, but it was 5 years ago and I don't remember all the details.
 
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.