0

Report records based on accumulated values

Hi All,

I know there is a way to do what I want, but can't find it. I feel a little stupid for not being able to find the solution myself, as I know I have seen it somewhere.
What I want to do is this:
Pull from our Jobs table all jobs with costs exceeding a certain percentage of the contract value. This is not a problem, for the individual records, until what's coming next: our jobs are split up in subjobs that are accumulated into Main Jobs. Main Job no. are numbered like 12345, subjobs are numbered typically 12345.100 an 12345.101 etcetera; Related jobs are identified by the field 'Main Job no' in the Job table.
So I want only to pull the jobs where the sum of all costs of al subjobs of a main job no. exceed a percentage of the sum of all contract values of those same subjobs.
I am posting my question here hoping to be able to quickly get on with my report…….. I know the answer is right in front of me and I can't see it :shock:

Thanks in advance

Willem

1 comment

Please sign in to leave a comment.