G
Guest
Hey there,
I'm trying to create two queries which will ultimately be used to create
reports based on them.
In both queries I want to work with date fields which I will call Date1 and
Date2. The dates that are contained in both these fields are all Thursdays.
Essentially, what I want is a query to select is all those records where
Date1 is last thursday (ie from the date the query is run) and another query
to select all those records where Date2 is next thursday (again from the date
of running the query.) If I run the queries on a thursday I want to select
that date's records, not last thursday's records.
I've been trying to do this for days with the opinion that it can't be that
tricky, but sadly my syntax has failed me.
Thanks for your help.
Joe
I'm trying to create two queries which will ultimately be used to create
reports based on them.
In both queries I want to work with date fields which I will call Date1 and
Date2. The dates that are contained in both these fields are all Thursdays.
Essentially, what I want is a query to select is all those records where
Date1 is last thursday (ie from the date the query is run) and another query
to select all those records where Date2 is next thursday (again from the date
of running the query.) If I run the queries on a thursday I want to select
that date's records, not last thursday's records.
I've been trying to do this for days with the opinion that it can't be that
tricky, but sadly my syntax has failed me.
Thanks for your help.
Joe