Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

relational graph for scheduling conflicts

Featured Replies

I'm starting on a solution to schedule the use of resources in our lab. Ive attached a file which attempts to use relationships and a calculation field to detect scheduling conflicts. This appears to work, but I'm looking for input on whether this is the best approach to use.

Also, I'm looking for a way to use field validation to disallow commiting a record if it conflicts with an existing record. Any ideas on how to validate this w/o the use of a script?

FileMaker Version: Dev 7

Platform: Mac OS X Panther

schedule.zip

Reed,

Your relationships to test for conflicts seems like a very good design to me, I don't see how it can be done better without an OR in the relationship creator.

For the validation, I added a validation calc on the "id" field:

conflict = 0

then turned off the "Validate only if field was modified" option in the calc dialog.

Turn off "allow override" and add a nasty custom message and you're there with no script.

  • Author

I tried this validation technique as well, but it seems that the validation is based on the count() functions prior to record commitment. So it doesn't catch a conflitct if there is only one. If you change the condition to count>0 instead of >1 then it works, but if you try to edit the record, it conflicts with itself. Any thoughts on how to get around this? (Again, without the user have to execute a script.)

Dana

I didn't notice that.

You could try adding not-equal to your own schedule id in each of your test relationships and your own row won't be in your conflict-finding portals?

  • Author

Thanks, I wonder why I didn't think of that?

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.