Jump to content

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

Recommended Posts

Posted

Who can please help me with this?

I want to calculate, in a timecode database, the total of working hours in a portal, compared (looked up) from 2 fields. (for example: if field "ordercode" value =8001 and if field "ordernumber"=2002-01, then add up fields "working hours".

I hope I've explaned this clearly enough? crazy.gif

Posted

You can get the total of a field in a portal by creating a calc field:

Sum(Relationship::RelatedField)

Just put the calc field on a layout somewhere (not in the portal!).

As far as the "2 fields" stuff goes, no it's not clear, but I think the answer is to make sure that the particular relationship and related field already compares the 2 fields to make sure that it only returns the working hours if you want them included in the total.

BTW, you don't even need a portal; the calc field will work anyway.

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