Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Still Trying to Query Overdue Dates 1

Status
Not open for further replies.

jchollo

MIS
Sep 15, 2005
22
US
When I entered the query below - I received the error - "You may have entered an invalid identifier or typed parentheses following the null constant criteria."

The string:

Overdue: IIf([Due Date]<Date(), Int(Date()-[Due Date]) & ' days past due', '')

I do type this string for the criteria in the query design? Do I type the word Overdue with the query?

I want to figure out once a due date is past, have the results display in the Overdue field - 1 day past due, 2 days past due, etc.


tks

















 
When in the query grid, this string is to be pasted in an empty Field cell, not a criteria one.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Another question - when I display in the report format, the overdue contents does not display. Only the heading Overdue. Can you display the the contents of the Overdue field in the report?

tks
 
Even when [Due Date] is beyond ?
What is displayed in the query data sheet view ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
When I do the query, it displays the Overdue column along with the days overdue. But when I want to review in the report format, it just displays the Overdue column without displaying the days overdue.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top