Hello,
I have a table of records which i need to filter via a query to show all data for up to 7 days from the day the query is ran. This in its self is simple using a Date()-7 function but i only want to show records that start from the Sunday within the date parameters.
For example if i ran this query Tuesday 13:00 hrs it would only show records up to last Sunday 0:00 hrs and not before. But if i ran the same query on the Saturday 23:00 it would show all data all the way back to last Sunday 0:00.
Any Help would be greatfuly appreciated.
Thanks
I have a table of records which i need to filter via a query to show all data for up to 7 days from the day the query is ran. This in its self is simple using a Date()-7 function but i only want to show records that start from the Sunday within the date parameters.
For example if i ran this query Tuesday 13:00 hrs it would only show records up to last Sunday 0:00 hrs and not before. But if i ran the same query on the Saturday 23:00 it would show all data all the way back to last Sunday 0:00.
Any Help would be greatfuly appreciated.
Thanks