Bug Fix: Occasional "-" for a User's Initials

Support, Questions and Suggestions for the FM7 Version of CC Calendar.
SeedCode Staff
SeedCode Staff
Posts: 2760
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Thu Feb 24, 2005 2:12 pm
Overview

Leaving the "Show / Hide Appts for" filter to "Hide" with no criteria in it can cause newly created appointments to display a "-" where the users' initials should be, even though the users' initials are properly recorded. All calendar versions are affected.

Thanks to Munchieman5150 for catching this!

The Fix

In the CC Calendar script "New Appointment", edit the line immediately following the "Set the ApptUser... comment from this:
Code: Select all
If(CalendarDaily::CalFilterUserShowHideGlob?"Hide";CalendarDaily::CalFilterUserGlob;"-")

To this:
Code: Select all
If(CalendarDaily::CalFilterUserShowHideGlob?"Hide";CalendarDaily::CalFilterUserGlob;"")


Do the same for the next set field, the one following the "Set the ApptKeyType..." comment. Change that from this:
Code: Select all
If(CalendarDaily::CalFilterTypeShowHideGlob?"Hide";CalendarDaily::CalFilterTypeGlob;"-")

To this:
Code: Select all
If(CalendarDaily::CalFilterTypeShowHideGlob?"Hide";CalendarDaily::CalFilterTypeGlob;"")


Note. If any existing appointments show the "-", you'll need to delete that character from the user's field manually.

That's it!
John Sindelar
SeedCode

Return to CC Calendar (FM7/8)

Who is online

Users browsing this forum: No registered users and 1 guest

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