Skip 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.

Identify conflicts

Featured Replies

  • Newbies

I do a lot of scheduling. Is there a script that can be used with filemaker 6 or 7 that will automatically identify conflicts within records of date, sport, time, and facility? I need away to show a conflict exists automatically or within a short period of time.

It's hard to give specifics on how to build it as we don't know the details of what you are doing (keep in mind that building a scheduling system is complicated.)

The basic algorithm for a conflict check is to use a relationship based on the things that would qualify as a conflict between an existing record and a new record. In FM6 the keys for this relationship would be calculated like:

Key = date & " " & sport & " " & facility

But to include time or date ranges in the relationship is more work. For range relationships in FM6, I like the Smart Ranges technique:

http://www.onegasoft.com/tools/smartranges/

In FM7, relationships are somewhat easier. You would add each of the criteria to the relationship in the Edit Relationship dialog. Use the >,>=,<, or <= relationship operators for the Date or Time range part of the relationship.

Anyway, when the relationship has related records (for the specied date, time, sport, and facility,) you know there is a conflict.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.