I have a database which I need to run a report of items which are “Overdue” or “Not completed”. I need to set up a new field (status) so that it can tell me if an item is Overdue or not completed. I was doing a calculated text box and inside the text box I entered the following first:
=IIf(([Date emailed enquiry]+[Response time])<=[Response Received],"Overdue"," Not completed")
However this was not entering accurate information in the status field. E.g. I had items which were responded to on time, however they were coming up as “Not comleted”.
I then tried the following:
=IIF(([Response received]<=([Date emailed enquiry]+[Response time]),”Overdue”,”No t completed”)
But this comes back as: The expression you entered contains invalid syntax. You may have entered an operand without an operator.
Can anyone see where I am going wrong at all or offer me any advice?
Thank you
=IIf(([Date emailed enquiry]+[Response time])<=[Response Received],"Overdue"," Not completed")
However this was not entering accurate information in the status field. E.g. I had items which were responded to on time, however they were coming up as “Not comleted”.
I then tried the following:
=IIF(([Response received]<=([Date emailed enquiry]+[Response time]),”Overdue”,”No t completed”)
But this comes back as: The expression you entered contains invalid syntax. You may have entered an operand without an operator.
Can anyone see where I am going wrong at all or offer me any advice?
Thank you
Comment