Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

If you want to use a summary field in a calculation, it's probably best to use GetSummary( sumfield, breakfield ) and sort by the break field.

Posted

GetSummary will require a script for the sort. Any ideas to accomplish this without scripting.

I may be trying to hard but, scripts usually mean another button and another step for the user. I am trying to make this as simple as possible for the user. I want the time card system to be a no brainer. I am trying to keep this to a one and/or two step interface.

Posted

Perhaps I read your original post incorrectly. Are you using a summary field or a calculation field that use Sum( ) to add up the totals for related records?

Posted

A calc field totals the time for each event in the data table.

A summary field totals the times for each day using a self join relationship.

I was trying to build a calc field to add and display a fixed value to the sum total.

I am trying to calculate break times based on the hours worked in a day.

I have not built any complex solutions for a couple years and am using this file to attempt to get up to speed. Unfortunately I am very rusty and finding it difficult to bridge the gap between the possibilities of 7 and the reality of my level of expertise. Admittedly my approach may be all wrong.

I appreciate the help.

Posted

I'm assuming your self-join relationship uses both employee and date to determine matches. Is this correct?

Posted

Aha! The global fields are your problem. Make your self-relationship based on the Employee and Date that are specific to each record, not global fields that would be related to the same records regardless of which record you are on.

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