Search code examples
asp.netvisual-studio-2008crystal-reportsc#-3.0

Display text base on condition (crystal report)


I want to display fields of 'Short description' if field of 'Long description' is not blank. How can I do that ?


Solution

  • Write click on your textobject or database field object => Format Object

    In "Common" Tab of this new windows there is a field called Suppress, click on the button to the right of this field with the text "X-2". This will add a new formula, you'll need to return a boolean to set when your field will be suppress ( not displayed or not )

    That's all.