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

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -