Subtotal on Continuous form

  • Thread starter Secret Squirrel
  • Start date
S

Secret Squirrel

I have a continuous form that shows 12 records, 1 for each month. What I want
to do is total the months by quarter on my form footer. How would I calculate
just the quarters in my textbox?
 
S

Steve Schapel

Squirrel,

The expressions used would depend on what data you have there to
identify the month. For example, if you had a MonthNumber field, then
the Control Source of an unbound textbox in the form footer for the 1st
quarter would be like this:
=Sum(IIf([MonthNumber]<=3,[YourAmount],0))
 
Top