Why doesnt sum(dlookup()) work?

  • Thread starter Thread starter tom
  • Start date Start date
T

tom

I got this working with the dsum function but
why doesnt sum(dlookup()) work?
 
The sum command (as far as I know) only works when you place in a continues
form to total values in the form.

However, I don't think sum ever worked with a dlookup inside, and further,
how would the values/parameters you supply to the sum() command change
inside that function?

If this is a continues form, then dump the dlookup, and use a "join" command
(or sub-query), and then simply use the sum() command in the footer of the
form, or perhaps use a dsum() that would return the same set of records that
the form is filtered on.
 
I think you mean DSum().

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia
 

Ask a Question

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.

Ask a Question

Back
Top