I have a form based on a query that prompts for a particular part number. what I would like the value of a textbox (txtYTDCO1) to equal the sum of all values in the QTY field for that particular part number. Can anyone help?
To use the sum function, you'll have to be summing a field (not a control on the form). You could include the field to be summed in the detail section of the form. (even if you need to hide it that's okay). Then, include an unbound field in the footer section that uses a Control source of:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.