I need the date to display only if it is greater than the currentdatetime. Please tell me why this formula does not work...it displays dates that are both greater than and dates that are less than the CurrentDateTime. The {table.startdate} is a datetime field.
if isnull ({table.startdate}) then ' '
else if {table.startdate} > (CurrentDateTime) then totext ({table.startdate},"MM/dd HH:mm")
I have also tried:
if isnull ({table.startdate}) then ' '
else if {table.startdate} > (CurrentDateTime) then totext ({table.startdate},"MM/dd HH:mm")
else if {table.startdate} < (CurrentDateTime) then ''
if isnull ({table.startdate}) then ' '
else if {table.startdate} > (CurrentDateTime) then totext ({table.startdate},"MM/dd HH:mm")
I have also tried:
if isnull ({table.startdate}) then ' '
else if {table.startdate} > (CurrentDateTime) then totext ({table.startdate},"MM/dd HH:mm")
else if {table.startdate} < (CurrentDateTime) then ''