gacapp
07-21-2009, 07:19 AM
I have a report that has 5 text boxes that has controlsource count formulas like this:
=DCount("*","Age Group: New-Child <1")
these count boxes work fine. The five count boxes have counts of (5,3,4,2,5). The names of the text boxes are Text19, Text20, Text21, etc.
What I need is a text box that will give me the total of those 5 count boxes. So the number in the text box should be 19.
Someone suggested to use:
=Me.Text19+Me.Text20, etc
However this did not work.
Any ideas of how I can create a text box that that total count text boxes?
Any help would be appreciated
=DCount("*","Age Group: New-Child <1")
these count boxes work fine. The five count boxes have counts of (5,3,4,2,5). The names of the text boxes are Text19, Text20, Text21, etc.
What I need is a text box that will give me the total of those 5 count boxes. So the number in the text box should be 19.
Someone suggested to use:
=Me.Text19+Me.Text20, etc
However this did not work.
Any ideas of how I can create a text box that that total count text boxes?
Any help would be appreciated