TIP: Formatting appointments

Support for our integrated Contact Manager, Calendar, and Project Tracker.
Posts: 160
Joined: Sat Nov 29, 2003 12:26 pm
Location: Columbus, OH
PostPosted: Wed Nov 07, 2007 1:17 pm
All,

We had a client ask how to format an appointment to turn red after the time for the appointment was over, essentially if it was in the past.

The following calculation placed as custom formatting on any appointment based on the perspective of CalDailyAppointments will trigger true when the appointment is in the past, FWIW.

This is for the free version, but should work on any version of the product.

Code: Select all
CalDailyAppointments::ApptDate < Get ( CurrentDate ) or ( CalDailyAppointments::ApptDate = Get ( CurrentDate ) and Max (CalDailyAppointments::ApptTimeEnd ; CalDailyAppointments::ApptTimeStart )  ≤ Get ( CurrentTime ) )


I hope it helps someone.
Court Bowman, President
Cleveland Consulting, Inc.

http://www.clevelandconsulting.com/

Return to SeedCode Calendar

Who is online

Users browsing this forum: No registered users and 1 guest

cron
(855) SEEDCODE
support@seedcode.com
Follow us: