Greetings,
I need some help with a date function, if anyone is able.
I have a database, and held within its contents is a list of contest winners. One of the rules however is that one person can not win more than one contest every 60 days. Unfortunately, people still enter
To this end, I've been asked to create a report listing the names of all winners within the last 60 days.
There is really only one table, and it has a bunch of information including first name, last name, address etc etc, and a Date Won field - which is where the date that contest was won, by that particular person, is entered.
There is an existing query there and they've added the DateWon field and put in
Date() and Date()-60
This brings up 0 records. Now I am 100% positive there are atleast 5 records of winners in the last 60 days (quite a bit more than that).
Can someone assist me? This seems like it should be a fairly simple issue.
Also, once I have the basic report - is it possible to use the same restrictions and to have a second query whereby I can have it search for a Last Name (which is a seperate field) within the restricted 60 day query? For a fast lookup to see if a particular person won in the last 60 days, this would be very nice.
Thank you everyone for your assistance.
-Lisa
I need some help with a date function, if anyone is able.
I have a database, and held within its contents is a list of contest winners. One of the rules however is that one person can not win more than one contest every 60 days. Unfortunately, people still enter
To this end, I've been asked to create a report listing the names of all winners within the last 60 days.
There is really only one table, and it has a bunch of information including first name, last name, address etc etc, and a Date Won field - which is where the date that contest was won, by that particular person, is entered.
There is an existing query there and they've added the DateWon field and put in
Date() and Date()-60
This brings up 0 records. Now I am 100% positive there are atleast 5 records of winners in the last 60 days (quite a bit more than that).
Can someone assist me? This seems like it should be a fairly simple issue.
Also, once I have the basic report - is it possible to use the same restrictions and to have a second query whereby I can have it search for a Last Name (which is a seperate field) within the restricted 60 day query? For a fast lookup to see if a particular person won in the last 60 days, this would be very nice.
Thank you everyone for your assistance.
-Lisa
Last edited: