totaling of fields

M

Malcolm Mabe

i have a form that records a sales persons results based on a query for that
person. i need the first record of the form to show total sales. at the
moment i'm clicking thru every record that adds the totals up as i go along.
a little crude eh?

how is this done?
 
R

Rob Oldfield

Easiest way to get the value will be to use something like a dsum. I
wouldn't recommend adding it in as another record on the form as that's
potentially going to be confusing e.g. if the user sorts the data. You'd be
better off just adding an unbound textbox onto the form and set it's source
to be the dsum.

(If you're desperate to add it as another record, then you could do that
using a union query.)
 

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

Top