Newbies md71 Posted November 17, 2005 Newbies Posted November 17, 2005 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?
Ender Posted November 17, 2005 Posted November 17, 2005 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now