A family of Microsoft relational database management systems designed for ease of use.
The expression for the control's ControlSource property would be along these lines:
=[AmountA]*IIf([tglA],1,0)+[AmountB]*IIf([tglB],1,0)+[AmountC]*IIf([tglC],1,0)
A toggle button has values of a Boolean TRUE if pressed or FALSE if not pressed (implemented in Access as -1 and 0 respectively), so the IIf function will return a value of 0 or 1 depending on the state of the toggle button. Note that none of the amount controls can be Null, so be sure that the query returns a zero rather than a Null for each if necessary. Otherwise a Null would propagate in the arithmetical addition operations, and the expression as a whole would evaluate to Null.