If, for example, the list box is a simple query of a table (with or without
a Where clause), you could use the DSum function in the control source of
the text box.
I used the code and it works with a couple of exceptions. First, how do I
format the sum to a number with decimals...whaqtever i try to do, the sum is
only shown as a whole number and it rounds.? Second, I want to be able to
click on List1 which queries List2 and have the sum from List2 to appear.
How will the code change given this scenario.
dude...that's awesome...One more thing though....
How can I get the sum to automatically recalculate based on List2 results
which is based on List1 selections. In other words, I click on List1 and a
sum appears based on List2...then I click another selection on List1 and the
sum automatically updates based on the List2 results. Thanks much
it was requery...and the only modification I had to make was to replace ".",
after Me, with a "!". You have given me reason to sleep good tonight.
Thanks.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.