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  

Year(Now()), before Year(Now(), or null



 
 
Thread Tools Display Modes
  #1  
Old June 30th, 2006, 03:41 PM posted to microsoft.public.access.queries
[email protected]
external usenet poster
 
Posts: 4
Default Year(Now()), before Year(Now(), or null

I have a field in a query called NextReview, and currently another
field
NextReviewYear: Year([Next Review]) with the criteria Year(Now()). I
need this criteria to find all dates for the current year, before the
current year, or null. How is this possible? I'm sure it is
relatively simple, but I'm a newb! Thanks...

  #2  
Old June 30th, 2006, 04:33 PM posted to microsoft.public.access.queries
Jerry Whittle
external usenet poster
 
Posts: 4,732
Default Year(Now()), before Year(Now(), or null

Year(Date())+1 Or Is Null
--
Jerry Whittle
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


" wrote:

I have a field in a query called NextReview, and currently another
field
NextReviewYear: Year([Next Review]) with the criteria Year(Now()). I
need this criteria to find all dates for the current year, before the
current year, or null. How is this possible? I'm sure it is
relatively simple, but I'm a newb! Thanks...


  #3  
Old June 30th, 2006, 05:58 PM posted to microsoft.public.access.queries
Jadabug
external usenet poster
 
Posts: 1
Default Year(Now()), before Year(Now(), or null


Jerry Whittle wrote:
Year(Date())+1 Or Is Null
--
Jerry Whittle
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


" wrote:

I have a field in a query called NextReview, and currently another
field
NextReviewYear: Year([Next Review]) with the criteria Year(Now()). I
need this criteria to find all dates for the current year, before the
current year, or null. How is this possible? I'm sure it is
relatively simple, but I'm a newb! Thanks...

Thanks, worked like a charm.


 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nulls in a query Hal2604 via AccessMonster.com Running & Setting Up Queries 4 June 23rd, 2006 07:51 PM
Build new row, consolidating columns... nycdon Running & Setting Up Queries 2 March 15th, 2006 10:13 PM
Convert Count(Case()) SQL Server Query to Access [email protected] Running & Setting Up Queries 3 November 17th, 2005 11:06 PM
Here's a shocker Mike Labosh General Discussion 2 October 26th, 2004 05:04 PM
Access inconsistencies Hoopie Running & Setting Up Queries 2 June 15th, 2004 10:53 AM


All times are GMT +1. The time now is 11:31 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.