Derived Field value based on subtracting to dates and if the value is zero then return a 1 else return the value from subtracting the two dates.
Code :
Sub DateDiff()
If "FAX_DATE" - "INPUTDATE" = 0 Then
DerivedField(1)
Else
DerivedField(("FAX_DATE") - ("INPUTDATE"))
End If
End
ERROR is illegal arguments to subtract
I'm new to this. Any help would be appreciated
Code :
Sub DateDiff()
If "FAX_DATE" - "INPUTDATE" = 0 Then
DerivedField(1)
Else
DerivedField(("FAX_DATE") - ("INPUTDATE"))
End If
End
ERROR is illegal arguments to subtract
I'm new to this. Any help would be appreciated