Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

Oh boy... not sure if this should be in find or calc section: Payroll question


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

Recommended Posts

Posted

I'm a DIY.... unfortunately.   

 

I feel like I am missing a puzzle piece of knowledge and am hoping someone can point me in the right direction to research my answer.  both tables are childs 

 

 

Table: Payroll time sheets- people log on and submit one record for the monthly time sheet.   It has a total of 25 entry dates, to put in their time.  

 

 

Table: time off- people submit requests for leave, one record for each day off. 

 

 

What I want to do:  when they fill out the timesheet, I want those fields to zero out if they have taken that day off.

 

What I have done that does not work:

 

 If (Absent::date ≠ ${1date} ; 20; If (Absent::SS ≠ ss; 1; If (Absent::session ≠ "AM"; 2; 0)))   it only looks at the first record, not all records.

 

Also trying to set up a find, but could not enter in matching the contents of another field

 

 

What direction should I go in?  Just give me a direction to look up, please!

Posted

Instead of 25 fields, you should give your users a portal to enter their work dates as individual records in a related table (same as they do with the requested days off). Then you can relate the two tables matching on date - and decide what to do if there is a matching record.

 

 

---

BTW, when Filemaker warns you that a field name is illegal, it is best to heed the warning and avoid the ${1date} notation.

  • Like 1
Posted

Thank you for the suggestion and good solution. Unfortunately at this point they have to be related to the parent. I have thought about doing a triggered find per date field, but need to figure a way to do it.

Any other directions?

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