todAnthony
Wait... What?
- Local time
- Today, 03:20
- Joined
- May 25, 2011
- Messages
- 26
Field1 contains a number
Field2 contains a checkbox (true/false)
I have a textbox in the report saying (Control Source) =Sum([Field1]) to, of course give me the sum of all of that field.
I am trying to get another textbox to sum the records in Field1 for all the ones in Field2 that are checked (True).
It seems I can do this in the Control Source with an expression but I have no clue how to get there. Something like:
=Sum([Field1]) Like ([Field2]) = True
Am I barking up the right tree?
I hope my information is sufficient.
Field2 contains a checkbox (true/false)
I have a textbox in the report saying (Control Source) =Sum([Field1]) to, of course give me the sum of all of that field.
I am trying to get another textbox to sum the records in Field1 for all the ones in Field2 that are checked (True).
It seems I can do this in the Control Source with an expression but I have no clue how to get there. Something like:
=Sum([Field1]) Like ([Field2]) = True
Am I barking up the right tree?
I hope my information is sufficient.