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.

Dynamically display absence dates

Featured Replies

Hi everyone.

Where I work, my employer logs employees' absences by recording the start and end dates of each absence period.

On a screen showing a single employee, these dates are visible in a portal. Is it possible to DYNAMICALLY (i.e. not via a script) display these absences in a calendar?

For example, if the portal shows

Start date---End date

2nd Mar, 2007---3rd Mar, 2007

5th Mar, 2007

then the employee's calendar should show

1st Mar

2nd Mar x

3rd Mar x

4th Mar

5th Mar x

Thanks

You can use a Date to Range relationship for each day of the month (actually 42 to complete the grid). Each relationship would look something like:

Interface <=> AbsenceDay1 =

Interface::EmployeeID = AbsenceDay1::EmployeeID

AND Interface::cDate1 >= AbsenceDay1::StartDate

AND Interface::cDate1 <= AbsenceDay1::EndDate

Where cDateN is the calculated from the first date of the month's calendar plus N-1, were N is the day of the month.

Edited by Guest

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.