Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determine data within fiscal year 1

Status
Not open for further replies.

THWatson

Technical User
Joined
Apr 25, 2000
Messages
2,601
Location
CA
Using Access 2003

A club's fiscal year is from October 1 through September 30.

To determine whether or not data falls within the current fiscal year, would the following not set the correct date parameters?
Code:
Between DateSerial(Year(Date(),9,30) AND DateSerial(Year(Date()-1,10,1))

Tom
 
Pretty much, some of the parentheses are a bit out though:
Code:
DateSerial(Year(Date()[red])[/red],9,30) AND DateSerial(Year(Date()[red])[/red]-1,10,1)
Hope this helps

HarleyQuinn
---------------------------------
The most overlooked advantage to owning a computer is that if they foul up there's no law against wacking them around a little. - Joe Martin

Get the most out of Tek-Tips, read FAQ222-2244 before posting.
 
Thanks, Harley

Tom
 
Glad I could help, thanks for the star [smile]

HarleyQuinn
---------------------------------
The most overlooked advantage to owning a computer is that if they foul up there's no law against wacking them around a little. - Joe Martin

Get the most out of Tek-Tips, read FAQ222-2244 before posting.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top