J
Joan
Hi,
I have a subform with a form footer that I want to display the count of
records on the subform. Is there a way to do this on the form itself
without using the query the form is based on? The record source of the
subform changes depending upon what data mode the parent form is opened in.
I can make a new query from the record source of the subform to return the
totals or count but it won't let me refer to it in the sub-form footer.
There are dog and cat records displayed on the subform and in the footer I'd
like to display the total number of dogs and the total number of cats. Each
record in the subform has a field called [SpeciesCode] with either a "D" for
dog or a "C" for cat. How can I write the control source for TotalDogs so
that it displays the count of the D's in the [SpeciesCode] column of the
subreport?
Joan
I have a subform with a form footer that I want to display the count of
records on the subform. Is there a way to do this on the form itself
without using the query the form is based on? The record source of the
subform changes depending upon what data mode the parent form is opened in.
I can make a new query from the record source of the subform to return the
totals or count but it won't let me refer to it in the sub-form footer.
There are dog and cat records displayed on the subform and in the footer I'd
like to display the total number of dogs and the total number of cats. Each
record in the subform has a field called [SpeciesCode] with either a "D" for
dog or a "C" for cat. How can I write the control source for TotalDogs so
that it displays the count of the D's in the [SpeciesCode] column of the
subreport?
Joan