A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Date Calc/Criteria



 
 
Thread Tools Display Modes
  #1  
Old November 30th, 2006, 07:27 PM posted to microsoft.public.access.queries
Anthony Viscomi
external usenet poster
 
Posts: 19
Default Date Calc/Criteria

I am trying to filter records via a query; the query has a Date field
"DueDate". I would like to display the records that meet the following date
criteria:

Now()
Now() but only 10 days into the future


Thanks in advance!
Anthony


  #2  
Old November 30th, 2006, 07:41 PM posted to microsoft.public.access.queries
kingston via AccessMonster.com
external usenet poster
 
Posts: 620
Default Date Calc/Criteria

Do you mean this criteria:

Now() Or Now()+10

Anthony Viscomi wrote:
I am trying to filter records via a query; the query has a Date field
"DueDate". I would like to display the records that meet the following date
criteria:

Now()
Now() but only 10 days into the future


Thanks in advance!
Anthony


--
Message posted via http://www.accessmonster.com

  #3  
Old November 30th, 2006, 07:49 PM posted to microsoft.public.access.queries
Anthony Viscomi
external usenet poster
 
Posts: 19
Default Date Calc/Criteria

Actually I mean this:

Now() Or =Now()+10

"kingston via AccessMonster.com" u27511@uwe wrote in message
news:6a131be27514d@uwe...
Do you mean this criteria:

Now() Or Now()+10

Anthony Viscomi wrote:
I am trying to filter records via a query; the query has a Date field
"DueDate". I would like to display the records that meet the following
date
criteria:

Now()
Now() but only 10 days into the future


Thanks in advance!
Anthony


--
Message posted via http://www.accessmonster.com



  #4  
Old November 30th, 2006, 07:56 PM posted to microsoft.public.access.queries
Anthony Viscomi
external usenet poster
 
Posts: 19
Default Date Calc/Criteria

I had a "Mental Breakdown"; all I needed was:
=Now()+10
"kingston via AccessMonster.com" u27511@uwe wrote in message
news:6a131be27514d@uwe...
Do you mean this criteria:

Now() Or Now()+10

Anthony Viscomi wrote:
I am trying to filter records via a query; the query has a Date field
"DueDate". I would like to display the records that meet the following
date
criteria:

Now()
Now() but only 10 days into the future


Thanks in advance!
Anthony


--
Message posted via http://www.accessmonster.com



  #5  
Old November 30th, 2006, 07:59 PM posted to microsoft.public.access.queries
kingston via AccessMonster.com
external usenet poster
 
Posts: 620
Default Date Calc/Criteria

In the query, on one criteria line enter Now() and on another criteria line
enter Now()+10.

Anthony Viscomi wrote:
Actually I mean this:

Now() Or =Now()+10

Do you mean this criteria:

[quoted text clipped - 10 lines]
Thanks in advance!
Anthony


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...eries/200611/1

  #6  
Old November 30th, 2006, 08:14 PM posted to microsoft.public.access.queries
Klatuu
external usenet poster
 
Posts: 7,074
Default Date Calc/Criteria

Be careful using Now() in a case like this. You may pick up records you
don't want or miss records you do want. Now contains time values, so that
the times are compares as well as the date. That will affect how the records
are returned. The same is true if your date field contains times.

I suggest using Date() rather than Now() unless you want to filter by time.



"Anthony Viscomi" wrote:

I had a "Mental Breakdown"; all I needed was:
=Now()+10
"kingston via AccessMonster.com" u27511@uwe wrote in message
news:6a131be27514d@uwe...
Do you mean this criteria:

Now() Or Now()+10

Anthony Viscomi wrote:
I am trying to filter records via a query; the query has a Date field
"DueDate". I would like to display the records that meet the following
date
criteria:

Now()
Now() but only 10 days into the future

Thanks in advance!
Anthony


--
Message posted via http://www.accessmonster.com




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:15 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.