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

Need to define the start of year as November

Status
Not open for further replies.

swaykid

IS-IT--Management
Oct 16, 2003
13
0
0
ES
Does anyone know a function that can do this?.

Accountants insist on defining the start of the year at random points, and for my report need to analyse sales figure from start of november to end of october

Any takers?

 
In a new column of your query put something like this
MyFY:IIf(Month([DateField]>=11,"FY" & Year([DateField])+1,"FY" & Year([DateField])

Then you just need to group on this field to have your records fall into the appropriate FY.

Paul
 
Sorry, forgot the closing ) in the IIf statement
MyFY:IIf(Month([DateField]>=11,"FY" & Year([DateField])+1,"FY" & Year([DateField]))

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top