I have a subform based on a Crosstab query, of which I would like to count the instances of a specific result ("Y") in each column of the subform.
E.g.
Form: "frmAllergensInProducts"
SubForm: "S-frmAllergensinProducts"
I'd like to count the subform columns.
Wheat,Barley,Oats, etc.
Where they have the value of "Y".
Can you please help me work out the code for this, i've tried various "count" codes however I have been unable to make them work and i'm wondering if that is because the form is based on a crosstab?
Cheers
E.g.
Form: "frmAllergensInProducts"
SubForm: "S-frmAllergensinProducts"
I'd like to count the subform columns.
Wheat,Barley,Oats, etc.
Where they have the value of "Y".
Can you please help me work out the code for this, i've tried various "count" codes however I have been unable to make them work and i'm wondering if that is because the form is based on a crosstab?
Cheers