G
Guest
I am using date()-1 to retrieve data from my database in a query. This is
converted into a report which tells me about yesterdays machine performance
in our factory. The problem i have is that on a Monday the report retrieves
Sunday's data when I want it to retrieve Friday's (we run mon - fri). That
means that monday's report is blank.
Each record currently has a date - how do I get the query to ignore sat and
sun and give me friday's record? I dont want to have to type in the correct
date each time so I want the query to do it automatically.
converted into a report which tells me about yesterdays machine performance
in our factory. The problem i have is that on a Monday the report retrieves
Sunday's data when I want it to retrieve Friday's (we run mon - fri). That
means that monday's report is blank.
Each record currently has a date - how do I get the query to ignore sat and
sun and give me friday's record? I dont want to have to type in the correct
date each time so I want the query to do it automatically.