Jump to content

Sum data in one field throughout a database


This topic is 8619 days old. Please don't post here. Open a new topic instead.

Recommended Posts

quote:

Originally posted by alexf:

Is it possible to sum the data stored in a field of the total records in a Database and display the value of that sum?

Thank you.

The Sum(FieldName) works on whatever the found set is.

The GetSummary (FieldName, BreakField) can be used by having a breakfield which include ALL records in the DB, such as a global or a constant.

One or both of these methods should give you the results you are looking for.

------------------

=-=-=-=-=-=-=-=-=-=-=-=-=

Kurt Knippel

Consultant

Database Resources

mailto:[email protected]

http://www.database-resources.com

=-=-=-=-=-=-=-=-=-=-=-=-=

Link to comment
Share on other sites

This topic is 8619 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.