B
Bonnie
Hi there! Using A02 on XP. Have a table of historical
records and my query needs to feed a report that compares
current year to prior year. On my grid is a field: Year
([Date Recd]) with criteria: Year(Now()) Or Year(Now())-1
While this works great, I just know the next lament will
be, "But what if I want to run it to compare 2 prior
years?" I'd love to stave it off by taking care of it now.
I'd like to utilize the following: One grid has the field
RecYear: Year([Date Recd]) with criteria: Eval("InputBox
('What year do you want to use for current data?','Select
Year',Year(Date()))")
My inquiry is this: How can I get the criteria to also
pull the data for the year supplied by the input box PLUS
data for that year minus one? What I'm trying is not
working. Need help.
Thanks in advance for any help or advice, I really love
working with the access newsgroup. You guys are great!
records and my query needs to feed a report that compares
current year to prior year. On my grid is a field: Year
([Date Recd]) with criteria: Year(Now()) Or Year(Now())-1
While this works great, I just know the next lament will
be, "But what if I want to run it to compare 2 prior
years?" I'd love to stave it off by taking care of it now.
I'd like to utilize the following: One grid has the field
RecYear: Year([Date Recd]) with criteria: Eval("InputBox
('What year do you want to use for current data?','Select
Year',Year(Date()))")
My inquiry is this: How can I get the criteria to also
pull the data for the year supplied by the input box PLUS
data for that year minus one? What I'm trying is not
working. Need help.
Thanks in advance for any help or advice, I really love
working with the access newsgroup. You guys are great!