Ken Sheridan
Active member
- Local time
- Today, 16:50
- Joined
- Jul 10, 2025
- Messages
- 510
have tried as suggested
=Sum(txtQuantity * txtSellAUD * (txtSaleProbability / 100))...still getting an ERROR message
I have checked names etc. I have pasted direct from your page... no luck
What am I doing wrong???
Is the control in the subform's footer or in the parent form? If the latter then you should do as RonPaii described in post #15 and sum the values in a hidden control in the subform's footer, and reference that control in the ControlSource property of an unbound control in the parent form. Alternatively you can cut out the middleman and call the DSum function in the ControlSource property of a text box in the parent form, restricting the rows summed to those with the parent form's primary key value in the relevant foreign key column.