Jump to content

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

Recommended Posts

  • Newbies
Posted

I have a database and two of the fields are repeating (14 repeats).

One field is called Code and the other one Number. If there is an entry in the Code field there is always a corresponding entry in the Number field. However, not every field is used so it happens all the time that in one record Repetition 1, 3, 6, 7, 10, 11, 14 are used but that this is totally different in the next record. Entries do not always start at Repetition 1.

What I want to achieve is this:

Say that a record has an entry in the Code field in Repetition 1,3,6,7,13 with the value of T101,T105,T101,T110,T105 and the correcponding values in the Number field of 10,20,30,40,50. I want to add all the values of T101, T105 etc. in a separate layout. How do I do this?

Posted

A calculation field (result is number) =

Sum ( Number )

will add up all the values in the Number repeating field. It doesn't matter if the values are contiguous or not.

This topic is 7171 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.