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 7011 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I'm wanting to add a date range to a booking record which features a start date and end date. When submitted it will check another table for already taken dates and return a result as whether it is avaliable or not.

I've done this before with PHP/Mysql but I'm having a mental block on how to do it in Filemaker 7.

Can anyone give me a kick start?

Posted

Try this multi-criteria range relationship (double click the relationship line on the table occurence graph to get at the Edit Relationship dialog):)

Interface <=> Booking =

Interface::Room = Booking::Room

AND Interface::StartDate <= Booking::EndDate

AND Interface::EndDate >= Booking::StartDate

You can add additional criteria to filter by additional things, like Sites or something.

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