Here is my formula:
if Maximum({@tx plan date}, {CDCLIENT.SORT_NAME})=Date (1999-01-01) then
currentdate-Maximum ({CDASSFRM.DATE_EFFECTIVE}, {CDCLIENT.SORT_NAME})
else
Maximum ({@tx plan date}, {CDCLIENT.SORT_NAME})-Maximum ({CDASSFRM.DATE_EFFECTIVE}, {CDCLIENT.SORT_NAME})
The above formula is now getting a string is required error on the field =Date(1999-01-01)
part. I don't seem to be able to figure what is needed