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

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

Recommended Posts

Posted

Hi all,

I have a database for scheduling panelist at a multi-day conference that consists of 3 tables (Panelists, Events and a Join table)

Each panelist lists the earliest and latest panels that they can attend on the various days of the conference using 6 fields (FridayEarliest, FridayLatest, SaturdayEarliest, SaturdayLatest, SundayEarliest, SundayLatest).

I want to use a calculation field to give a warning when a panelist is placed on a panel that is not within the range of his acceptable times, but I am having difficulty coming up with a calculation that will work.

Any and all help will be greatly appreciated.

Posted

I would use a related table to keep the panelists' availability data, with fields:

• PanelistID

• Date

• FromTime

• ToTime

If you add a calculation field to the join table =

Events::Date

you can define a relationship from the join table to a second occurence of the Availability table as:

Join::PanelistID = Availability 2::PanelistID

AND

Join::cEventDate = Availability 2::Date

so that when you create a join record, it can "look" at the related record in Availability 2, and do the calc.

You could even take it further by pulling the event times into the join table too, and defining the relationship to Availability 2 as a range - so that the mere existence of a related record indicates availability.

Posted

Something like:

Events::StartTime ≥ Availability 2::FromTime

and

Events::EndTime ≤ Availability 2::ToTime

The result is 1 (true) if the panelist is available, 0 (false) otherwise.

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