Jump to content

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

Recommended Posts

  • Newbies
Posted

Scenary :

Master File

Related File

Fields:

Contract Number

DOP

QTY

TOTAL COST

The master file has a portal so that I can imput the above mentioned fields from the related file.

DOP has 4 options: A, B, C, D

I want to be able to visualize in field "Total A" of master file the sum (Field = Total Cost of related file) of all the DOP = A with the same contract number.

Please help!!!!

Posted

1) In the related file, create a calculated field:

DOP_A (calculation, number) =

If(DOP = "A", Total Cost, 0)

2) In your master file, create a field:

Total A (calculation, number) =

Sum(RelToRelatedFile::DOP_A)

The first step gives you a field in your related file which only shows values for DOP = "A". The second step sums up the DOP_A fields from related records.

-bd

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