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 to Date Date Restrictor



 
 
Thread Tools Display Modes
  #1  
Old October 19th, 2004, 02:42 PM
Haji
external usenet poster
 
Posts: n/a
Default Year to Date Date Restrictor

Hello,

Can someone tell me how to do a date restrictor for year
to date that would not be just "between 1/1/04 and
12/31/04"? Also, is there a web site that lists
different types of date restrictors?

Thanks,

Haji
  #2  
Old October 19th, 2004, 02:54 PM
Rick B
external usenet poster
 
Posts: n/a
Default

You tell us what you DON'T want it to be, but don't explain what you DO want
it to be.

Year-To-Date (in my mind) is January 1st through TODAY.

I'd use...

Between #01/01/04# and Date()



Rick B


"Haji" wrote in message
...
Hello,

Can someone tell me how to do a date restrictor for year
to date that would not be just "between 1/1/04 and
12/31/04"? Also, is there a web site that lists
different types of date restrictors?

Thanks,

Haji



  #3  
Old October 19th, 2004, 07:10 PM
John Spencer (MVP)
external usenet poster
 
Posts: n/a
Default

Or perhaps the following if you are looking for everything in the current year.

Between DateSerial(Year(Date()),1,1) And Date()

Rick B wrote:

You tell us what you DON'T want it to be, but don't explain what you DO want
it to be.

Year-To-Date (in my mind) is January 1st through TODAY.

I'd use...

Between #01/01/04# and Date()

Rick B

"Haji" wrote in message
...
Hello,

Can someone tell me how to do a date restrictor for year
to date that would not be just "between 1/1/04 and
12/31/04"? Also, is there a web site that lists
different types of date restrictors?

Thanks,

Haji

 




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
QDE (Quick Date Entry) Norman Harker Worksheet Functions 37 September 5th, 2004 01:24 AM
Year to Date Alex Running & Setting Up Queries 3 July 21st, 2004 05:20 PM
Problem with Date Restrictor on Form Chuck W Running & Setting Up Queries 3 June 10th, 2004 10:47 PM
Finding a date from year, week of the year (1-52) and day of the week (1-7) Bob Phillips Worksheet Functions 6 January 28th, 2004 04:21 PM


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