Cumulative Values in a Subform

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to add together the values in a column in a subform and
display them in another column in the same subform?
 
Pompeyjim,

One way to do this is via a Domain Aggregate Function. This can be done
in the query that the form is based on, or in the Control Source of the
textbox on the form. In the latter case, something like this...
=DSum("[TheAmount]","YourTable","[TheSortingField]<" & [TheSortingField])

If you have a very large number of records, the loading of the form may
be a little clunky.
 

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

Similar Threads

Access Daily Entry with multiple entries per field 0
Making new records from a subform 1
Parameter Value error in a Subform 0
Cascading combos in datasheet 0
Cumulative Values 2
Access Reference Subform's Control 0
Access Main form/Subform Navigation 0
Subforms 6

Back
Top