Adding values in a Listbox

C

Chris

hello again

I have a form which contains a cbobox for client Names. On choosing the
client name a lstbox is populated with details of what they owe to specific
companies.

How would I get the total amount owed to be displayed into a textbox?
 
J

Jeff Boyce

Whatever source you're using to fill the listbox, you could run a Totals
query against that same set of records.

Another way to handle this situation is to use a subform instead of a
listbox, then sum up all the values in the set (same as above).
 
Top