Bug Fix: To-Dos on the Week and Month View

Support, Questions and Suggestions for the FM7 Version of CC Calendar.
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Thu Jul 13, 2006 7:07 am
Overview

In the Pro Calendar v5.45 (not the Scheduling Edition), To-Do items are failing to show on the week and month views.

The Fix

While I'm not sure how happened, it seems the field "ToDoKeyDatesCalc" in the ToDoItems table is missing a GetAsNumber declaration. Add this to the beginning of the two Let statements and everything will work as it should. (The calc follows in its entirety.)

We apologize for any inconvenience this has caused!

- John

Code: Select all
Let ( [
due = GetAsNumber(Date ( Month ( ToDoDateDue ) ; Day ( ToDoDateDue ) ; Year ( ToDoDateDue ) ))
] ;
Right("000000" & due; 7) & "¶"
) // End Let

& ¶ &

If ( not IsEmpty ( ToDoDone ) ;
Let ( [
done = GetAsNumber(Date ( Month ( ToDoDateCompleted ) ; Day ( ToDoDateCompleted ) ; Year ( ToDoDateCompleted ) ))
] ;
Right("000000" & done; 7) & "¶"
) // End Let
; "" ) // End IF

// Thanks to Mikhail Edoshin for this great trick!
John Sindelar
SeedCode

Return to CC Calendar (FM7/8)

Who is online

Users browsing this forum: No registered users and 2 guests

cron
(855) SEEDCODE
[email protected]
Follow us: