Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6447 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted (edited)

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

This topic is 6447 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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