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

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

Recommended Posts

  • Newbies
Posted

This is my first time writing a database application with FileMaker. I'm wondering if someone can help with my problem...

(1) I have two tables: "Requests" and "Employees" which are related through the 'EmployeeID' field. There may be multiple "Requests" records for each 'EmployeeID.'

(2) When I enter a 'WeekBegin' date in the "Employees" table, I want it to look at each "Requests" 'RequestDate' that matches that date and enter a '1' if a "Request" exists for that date and a '2' if it does not.

(3) The problem: It works fine for the first "Employee" who has a "Request" that matches. But if there are two or more "Employees" with a "Request" with matching dates, it assigns a '1' to one of them and a '2' to the rest.

(3a) Why is it not evaluating all matching "Employees"?

(3b) I am trying to accomplish this via a calculation field "if" statement, so that this data is calculated everytime the record is viewed. Do I need a script with a "find" command first and then a "loop" instead?

Thanks so much for any info!

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