Visual Studio Development Bookmark and Share   
 index > Crystal Reports for Visual Studio > Hiding Data Field of a Crystal Report?
 

Hiding Data Field of a Crystal Report?

Hi all
I have a crystal report that displays some fields such as student name, address and so on
I want to make some of these fields invisible to some users.
how can this be done in code behind
thanks
Mina
Mina Samy  Thursday, October 15, 2009 2:18 PM
Hi,

To hide some fields , you might want to get the fieldobject andhide it's content:

FieldObject field;
field =
Report.ReportDefinition.ReportObjects[reportObjectName]
as FieldObject;

Or you can create another report file for these users.

Harry

Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Harry Zhu  17 hours 47 minutes ago

You can use google to search for other answers

Custom Search

More Threads

• preprinted invoice in crystal report in vb.net 22005
• Either Crystal Report Problem or Visual Team Problem ( Legend TExt )
• subreport overlaps
• how to use CrystalReportViewer
• Group report
• Getting started and getting finished in short time
• No data shown on Crystal Report
• Get Length of Report Document Before Printing
• Reports not running in .NET 1.1
• Display a picture from database into crystal reports