![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Microsoft Office support MS Office support forum |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Oct 2009
Posts: 5
OS: XP Pro
|
Access 2007 Query
I am trying to run a date of birth query.
I have the date of customer birthday and i need to query whos birthday is coming up in the next two weeks. date saved as 20/10/1986 as an example and since that birthday is within the next two weeks from today i want it displayed when the query is run. Does anyone know what i should put it the criteria to achieve these results. The query just has to look at the date and month at the minute. Thanks, Marc |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#3 (permalink) |
|
Registered User
Join Date: Oct 2009
Posts: 5
OS: XP Pro
|
Re: Access 2007 Query
this has to be idiot proof so i dont want to have to change the criteria all the time, i want a set formula that will look at todays date and the next 2 weeks dates and do the query, dont want to have to change it all the time as it wont be me using the database
|
|
|
|
|
|
#4 (permalink) |
|
Registered User
Join Date: Oct 2009
Posts: 5
OS: XP Pro
|
Re: Access 2007 Query
right lets change this slightly.
i want one query that will look at all records and i want the query to look something like this but i dont no how to right it greater than (dob taken from table automatically) but less than (manually entered date) so i guess it should look simlar to this. >dob()<[enter date] its the first bit where it automatically checks the date that i dont no how to do it |
|
|
|
|
|
#5 (permalink) |
|
Registered User
Join Date: Oct 2009
Posts: 5
OS: XP Pro
|
Re: Access 2007 Query
but then again that wouldnt work cuz the birthday will always be between date of birth and today...how do i get it to not look at the year? or to get it to set the year to the current year and will change to the current year each time the year changes
|
|
|
|
![]() |
| Thread Tools | |
|
|