purefreshair
MIS
Hello,
I am using Crystal Reports 8.0. I have a table from an SQL server database that contains an "edate" and "edateto" values which have a format of xx/xx/xxxx. I want to be able to define a new formula field to test the "edateto" value; if it is null I want my formula field to have a value of 12/31/2010; else use the value of "edateto". I've tried this syntax but get an error in the formula:
IF NULL {tablename.EDATETO} THEN '12/31/2010'
I believe the formula does not the format of what I am trying to use; does antyone know what I'missing?
Thanks,
I am using Crystal Reports 8.0. I have a table from an SQL server database that contains an "edate" and "edateto" values which have a format of xx/xx/xxxx. I want to be able to define a new formula field to test the "edateto" value; if it is null I want my formula field to have a value of 12/31/2010; else use the value of "edateto". I've tried this syntax but get an error in the formula:
IF NULL {tablename.EDATETO} THEN '12/31/2010'
I believe the formula does not the format of what I am trying to use; does antyone know what I'missing?
Thanks,