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.

Display available session on calendar

Featured Replies

Hi once more..

I'm trying to display session times that are available for each day on a calendar in month view. I have an "events" table with the field "available sessions" which is displayed in each day of the calendars month view.

"available sessions" is a calc field with the following.

Case ( IsEmpty ( Title ) and Time = Time ( 9 ; 0 ; 0 );"9 am" )

;IsEmpty ( Title ) and Time = Time ( 10 ; 0 ; 0 );"¶""10 am"

;IsEmpty ( Title ) and Time = Time ( 11 ; 0 ; 0 );"¶""11 am"

;IsEmpty ( Title ) and Time = Time ( 13 ; 0 ; 0 );"¶""1 pm"

;IsEmpty ( Title ) and Time = Time ( 14 ; 0 ; 0 );"¶""2 pm"

;IsEmpty ( Title ) and Time = Time ( 15 ; 0 ; 0 );"¶""3 pm")

cal is unstored & result is text.

so if the 9am & 10am sessions are available for a particular day 9am & 10am will be displayed for that day on the calendar .

Can't get this to work.

Any advice would be greatly appreciated.

The Case() function stops evaluating after the first successful condition is met, so your calc can only ever show one available time slot.

  • Author

Hi

I must be missing something. Why does this work:

"Sessions Available" in the events table:

Case ( IsEmpty ( Title ) and Time = Time ( 9 ; 0 ; 0 );1

;IsEmpty ( Title ) and Time = Time ( 10 ; 0 ; 0 );1

;IsEmpty ( Title ) and Time = Time ( 11 ; 0 ; 0 );1

;IsEmpty ( Title ) and Time = Time ( 13 ; 0 ; 0 );1

;IsEmpty ( Title ) and Time = Time ( 14 ; 0 ; 0 );1

;IsEmpty ( Title ) and Time = Time ( 15 ; 0 ; 0 );1)

"EventsMonth" in the calendar:

Sum ( Events_Month::Sessions Available )

The EventsMonth field displays the number of sessions available for those times on that day without a problem.

  • Author

O.K.

Increase the number of repetitions for the cal field & all works well.

Thanks IdealData

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.