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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create a field with fiscal year

Status
Not open for further replies.
Sep 16, 2005
191
US
I need to create a field that is only going to display the fiscal year in my report..

Example: If the date is between 6/30/2000 to 7/1/2001, then my field would display 2000/2001. I need to display all those fiscal years that is between 6/30/2000 to 7/1/2001.

Anyone know what the formula should be?
 
Try a cheat of:

if month(currentdate) < 7 then
totext(year(currentdate)-1,0,"")&"/"&totext(year(currentdate),0,"")
else
totext(year(currentdate),0,"")&"/"&totext(year(currentdate)+1,0,"")

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top