Crystal Report formula if-else statement Date condition -


i ask how use if-else statement in crystal report formula.

i want like

if date = "01/01/1900"  //display "-"  else  //display date 

but faced field require number, currency , date error. still new crystal report. hope u guys can guide me this. thank you

try

if  totext((date(year(yourdatefield), month(yourdatefield), day(yourdatefield))),'dd/mm/yyyy') ="01/01/1900" "-"  else  totext((date(year(yourdatefield), month(yourdatefield), day(yourdatefield))),'dd/mm/yyyy') 

Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -