N
nybaseball22
I have a challenging question here. I am trying to work with values
between certain dates, and want to know if there is some code I can
add that will sum values between certain dates, but not take into
account the year. I want to find averages for seasons, but not
seperate the years. So every year the averages would calculate with
the previous year. Here are my details:
subForm name: AutosGasDataCRVsub
Opens on Main form: AutomobileGasolineSearch
Name of text box where the value will be: AVGMPGWinter
Name of query where information is found: AutosGasStatsCRV
I will have seperate text boxes for each season with the following
dates:
Winter - Nov 15-Mar1
Spring - Mar 1-May31
Summer - June 1-Aug 31
Fall - Sept 1-Nov 15
What I have now that does not factor in the information above is:
=DSum("[Miles on Previous Tank]","AutosGasStatsCRV")/DSum("[Gallons
Pumped]","AutosGasStatsCRV")
Thanks for the help.
between certain dates, and want to know if there is some code I can
add that will sum values between certain dates, but not take into
account the year. I want to find averages for seasons, but not
seperate the years. So every year the averages would calculate with
the previous year. Here are my details:
subForm name: AutosGasDataCRVsub
Opens on Main form: AutomobileGasolineSearch
Name of text box where the value will be: AVGMPGWinter
Name of query where information is found: AutosGasStatsCRV
I will have seperate text boxes for each season with the following
dates:
Winter - Nov 15-Mar1
Spring - Mar 1-May31
Summer - June 1-Aug 31
Fall - Sept 1-Nov 15
What I have now that does not factor in the information above is:
=DSum("[Miles on Previous Tank]","AutosGasStatsCRV")/DSum("[Gallons
Pumped]","AutosGasStatsCRV")
Thanks for the help.