Q
quaddawg
I've searched the fora and found very similar questions, but I haven't been
able to put it all together.
I have a membership database.
There is a "Date Paid" field, which is the date a person joins. The
membership is good for a year. We send three renewals: one 2 months before
expiration, one 1 month away, and a final one in the month of expiration.
I would like to hit a command button that would run three renewal letter
reports running off of three renewal queries.
The way I would like this to work is that the data enterer would hit the
renewal button on one day of the month (say the 1st, but potentially a later
date) and the queries would select all records for the three months in
question. So, if there are Date Paid records of 5/1/2005, 5/14/2005,
5/31/2005, etc., they would be selected by the final renewal query--but the
query would not select a 5/1/2004 record.
So this doesn't get me there: WHERE (((Month([DatePaid]))=Month(Date())+1));
because it pulls 2004 records.
And I'm having problems with DateAdd because I haven't figured out how to get
all records within the given month, regardless of date or time within the
month.
To summarize:
Is it possible to run a query at any given day within a month to select all
records from the same month a year ago, from a month period 11 months ago,
and from a month period 10 months ago?
Sorry so wordy, thanks for the help!
able to put it all together.
I have a membership database.
There is a "Date Paid" field, which is the date a person joins. The
membership is good for a year. We send three renewals: one 2 months before
expiration, one 1 month away, and a final one in the month of expiration.
I would like to hit a command button that would run three renewal letter
reports running off of three renewal queries.
The way I would like this to work is that the data enterer would hit the
renewal button on one day of the month (say the 1st, but potentially a later
date) and the queries would select all records for the three months in
question. So, if there are Date Paid records of 5/1/2005, 5/14/2005,
5/31/2005, etc., they would be selected by the final renewal query--but the
query would not select a 5/1/2004 record.
So this doesn't get me there: WHERE (((Month([DatePaid]))=Month(Date())+1));
because it pulls 2004 records.
And I'm having problems with DateAdd because I haven't figured out how to get
all records within the given month, regardless of date or time within the
month.
To summarize:
Is it possible to run a query at any given day within a month to select all
records from the same month a year ago, from a month period 11 months ago,
and from a month period 10 months ago?
Sorry so wordy, thanks for the help!