C
Craig Cerff
I have a table with a list of data. How do I use a query
(and perhaps and expression builder) to give me the
averages of a number of points of data. So say I have 100
points but I want to be able to generate a query that
gives me the average for every 7 points and thus end up
with around 14 averages.
Question two, I use [Forms]![MyFormName]![ControlName] to
specify the criteria for a query. The control is a combo
box from which I can select my Criteria. I would like to
be able to leave the combo box empty and then allow all
the data to be displayed. i.e. on my form I select the
dates and say the grade being produced and the sample
point. The query then generates the info according to
this selection. How do I set the query that say if I
select dates and the sample point but leave grade empty,
information for all grades for the particular sample point
is displayed or all leave sample point empty and all
information is displayed for the selected date regardless
of grade or sample point and various options of this?
Thanks
Craig
(and perhaps and expression builder) to give me the
averages of a number of points of data. So say I have 100
points but I want to be able to generate a query that
gives me the average for every 7 points and thus end up
with around 14 averages.
Question two, I use [Forms]![MyFormName]![ControlName] to
specify the criteria for a query. The control is a combo
box from which I can select my Criteria. I would like to
be able to leave the combo box empty and then allow all
the data to be displayed. i.e. on my form I select the
dates and say the grade being produced and the sample
point. The query then generates the info according to
this selection. How do I set the query that say if I
select dates and the sample point but leave grade empty,
information for all grades for the particular sample point
is displayed or all leave sample point empty and all
information is displayed for the selected date regardless
of grade or sample point and various options of this?
Thanks
Craig