User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Computer Science and Software Design section within the Software Development category of DaniWeb, a massive community of 391,616 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,629 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Computer Science and Software Design advertiser:
Views: 19683 | Replies: 2
Reply
Join Date: Aug 2005
Posts: 1
Reputation: duubz is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
duubz duubz is offline Offline
Newbie Poster

microsoft access simple date query

  #1  
Aug 1st, 2005
Hi, I'm currently creating a database and need to create a query to show all the records that the warrenty date expires within the next week. i know this is a simple query as I did it when doing my A-Level in computer studies however I was working in a pub for the last year and am out of practise. So far I have simply put the criteria in the warrenty expiration date as ">=Now()+7" however that seem to be displaying the records with a date between now and 7 years from now. I hope someone can help me with this before I do too much damage to myself banging my head against my desk. thanks.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2005
Posts: 4
Reputation: mrnath is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
mrnath mrnath is offline Offline
Newbie Poster

Re: microsoft access simple date query

  #2  
Nov 14th, 2005
>=("d",7,int(now())) or >=("w",1,int(now()))

Had same problem.. kinda
Reply With Quote  
Join Date: May 2006
Posts: 1
Reputation: ingrid kalnins is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ingrid kalnins ingrid kalnins is offline Offline
Newbie Poster

Re: microsoft access simple date query

  #3  
May 9th, 2006
Originally Posted by duubz
Hi, I'm currently creating a database and need to create a query to show all the records that the warrenty date expires within the next week. i know this is a simple query as I did it when doing my A-Level in computer studies however I was working in a pub for the last year and am out of practise. So far I have simply put the criteria in the warrenty expiration date as ">=Now()+7" however that seem to be displaying the records with a date between now and 7 years from now. I hope someone can help me with this before I do too much damage to myself banging my head against my desk. thanks.
If you find out, can you help me work out the query for all records with a deadline date before a certain date.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Computer Science and Software Design Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Computer Science and Software Design Forum

All times are GMT -4. The time now is 12:26 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC