c# - How to Create a Simple If Condition Syntax in Crystal Report Formula that Returns a String Value -


can learn crystal reports formula syntax have made code keeps saying error 'there error in formula'.

i have already:

if {dataset.gender} = "male"   // return string x   end if 

i have tried researching right 1 syntax , seems have written right 1 still not working why it?

can fix syntax on how return x value if it's male in crystal reports formula.

remove "end if" formula

if {dataset.gender} = "male" then
// return string x


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -