Shooter54
asked on
How to base the sum of a control on the state of another control (checkbox)
I have a subform for which I am summing one of the controls, using the simple expression =Sum([LineTotal])
I would like that sum to only include the records for which a checkbox control is "true", but I'm not certain how to modify my expression to accomplish this. (see attachment)
Thank you in advance.
I would like that sum to only include the records for which a checkbox control is "true", but I'm not certain how to modify my expression to accomplish this. (see attachment)
Thank you in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I've requested that this question be closed as follows:
Accepted answer: 0 points for Shooter54's comment #a40606578
for the following reason:
Simple and concise solution to what to me was a difficult problem.
Accepted answer: 0 points for Shooter54's comment #a40606578
for the following reason:
Simple and concise solution to what to me was a difficult problem.
Looks like you inadvertently selected your own comment as the answer. I suggest you click on Request Attention at the top (right after your question) to someone fix this.
ASKER
I inadvertently accepted my own response as the solution. (sorry, new user) IrogSinta, ID 40606608 provided me the solution. Please resolve.
ASKER