Error values with date fields

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
Pete_(Guest)
Posts: 3
Joined: Tue Oct 10, 2017 12:44 pm

Error values with date fields

Post by Pete_(Guest) » Thu Sep 09, 2004 12:21 am

I have some reports that involve calculating from a date field in Excel using the ADDYRS or IIF function. In some cases the excel field is empty resulting in the string of ****. I have tried using the "ERROR" function to no avail. The only way I have been able to subsitute a text entry for the asterisks is to convert the date fields to characters (DTOC)and then use the ERROR function. Am I missing something?

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: Error values with date fields

Post by kfleming » Fri Sep 10, 2004 7:09 am

You can certainly test date calculations using the error function ____ERROR(adddays(hiredate,5))____will return a true or false value depending on whether hiredate contains a valid date field.____Kathleen__R&R Support

Post Reply