Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

Is RunningSum the function I need?

I have a field for name, balance, a payment date and a payment amount.  In a report I would like to group by name and at the end of that grouping - get the balance.  So if Smith had a balace of 100.00 and made a payment on 10-08-98 for 10.00 and a payment on 10-09-98 for 10.00 then I would a space for it to say current balace of $80.00.  Make sense?
0
klfacc
Asked:
klfacc
1 Solution
 
klfaccAuthor Commented:
Edited text of question
0
 
mkmccrearyCommented:
Sum() is the function you use at the group footer.  You could use the Expression Builder to create your Control Source property.  You can lookup more about this function by using the help file and search for 'SQL aggregate functions'.

Good Luck,
Martin

0
 
kulikuliCommented:
Yes it makes sense

You should create a header an  footer on name. In the header you place the name and total payment , in the detail you place payment date and amount and in the footer you place a field with a controlsource :

=reports!Myreport!total_payment-sum(reports!myreport!paidAmount)

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now