Can you tell me where I put the Year [EndDate] I guess EndDate is what I put in the brackets or would it be dt_originated. I don't have a field called EndDate that is what the user inputs.
Am I making any sense?
Thanks,
MEG
"Brendan Reynolds" wrote:
[Quoted Text] > "Meg" <Meg[ at ]discussions.microsoft.com> wrote in message > news:44A4C2AB-D7D2-467D-9C40-A6E21C7E7CA2[ at ]microsoft.com... > <snip> > > However, now they want another report based on fiscal year. There is no > > where that I capture the fiscal year, but I do have the dt_originated > > field > > that on my query I put the criteria -- Between [BeginDate] And > > [EndDate] > > which then prompts the user to enter the Begin Date (such as: 10/1/2007) > > and the End Date (such as: 9/30/2008) and I get the report fine, however > > I > > want my Heading to print 2008 Fiscal Year Report. The 2008 would be based > > on > > what 2 dates they put in. > > <snip> > > Is the fiscal year always the same year as the year of the end date? If so, > it's just Year([Name of your End Date Parameter Here]) > > The Year() function takes one argument, a date, and returns the year part of > that date. > > If not, how exactly is the fiscal year determined given the beginning and > ending dates? > > -- > Brendan Reynolds >
|