Cumulative Values

  • Thread starter Thread starter jimblob21
  • Start date Start date
J

jimblob21

Is it possible to add together the values in a column in a subform an

display them in another column in the same subform
 
jimblob21 laid this down on his screen :
Is it possible to add together the values in a column in a subform and

display them in another column in the same subform?

I take it you are using continous forms
just add a text control and set the source to "= [fieldblabla] +
[fieldyadayada]"
you can use any other mathematical function you like
just take a look in expressions

grtz
 
It would be best to do this in the query feeding the subform then bind that
calculated field to the textbox in the desired column.

Example:
SELECT Table1.Field1, DSum("Field1","Table1","ID<=" & [ID]) AS RunningSum
FROM Table1
ORDER BY Table1.ID;
 

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