I have a continuous form on which I display a check box, an assembly number, and a quantity with the row source from my table (Atbl)
I have a query which pulls the data from these three table fields in which I would like to sum up the total quantity
of all items which have their check box checked and have put together the following query which displays the records which are selected by their check boxes but I want a total of all quantity fields that are selected but am not sure how to do this with a query
I would also like to have a clear button on my form which when clicked clears all of these check boxes in the table. I know that this needs to be an OnClick update but I am not sure how to clear these... Would I use another query for this?
Any suggestions would be appreciated...
I have a query which pulls the data from these three table fields in which I would like to sum up the total quantity
of all items which have their check box checked and have put together the following query which displays the records which are selected by their check boxes but I want a total of all quantity fields that are selected but am not sure how to do this with a query
Code:
SELECT DISTINCTROW Atbl.cbox, Atbl.Assm, Atbl.Qty AS [Sum Of Qty]
FROM Atbl
WHERE (((Atbl.cbox)=True));
I would also like to have a clear button on my form which when clicked clears all of these check boxes in the table. I know that this needs to be an OnClick update but I am not sure how to clear these... Would I use another query for this?
Any suggestions would be appreciated...