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.

Featured Replies

Greets, everybody! Please refer to the attached.

What I want to do is set a conditional formatting calc so that if there's an overlap of time for a reserved court (as shown in the attachment), the records within that overlap will turn red to signal the user that there's a time conflict. How do I pull this off? (I have yet to figure how to prevent that from happening in the first place, but I'm guessing I could re-engineer the needed calc so that when a new record is created, it will search for a time conflict before being recorded.)

I'm guessing that the answer involves converting the date and time into a concatenated string of numbers then using the MIN and MAX calcs to see if they fall within a range; I also suspect that a self-join table (or e-SQL?) will be needed as well, but I'm just stymied on how to move forward with this thing.

TIA for your help!

Screen Shot 2019-03-22 at 10.39.24 AM.png

A self-join of your table would be convenient, say:

Reservations::Date = Reservations 2::Date
AND
Reservations::TimeIn ≤ Reservations 2::TimeOut
AND
Reservations::TimeOut ≥ Reservations 2::TimeIn
AND
Reservations::ReservationID ≠ Reservations 2::ReservationID

If there are any related records from Reservations 2, then there's a conflict.

  • Author

Beauty! Thanks!

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.