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
Post a Comment