Always show appointment in calendar

Support for our integrated Contact Manager, Calendar, and Project Tracker.
Posts: 21
Joined: Tue Jun 22, 2004 5:51 am
Location: Perth Western Australia
PostPosted: Mon Apr 09, 2007 7:22 pm
Does anyone have a simple way to always show appointments in the calendar?

At present depending upon whether you initiate an appointment by accessing the edit appointment mini window from a project record or from the calendar the show appointment button defaults to either off or on.

Thanks
Rob
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Mon Apr 09, 2007 7:44 pm
A couple options...

You can edit the New Activity script (the one called from contacts and projects) so that the Preform Script "New Appointment..." part is called with slightly different parameters: add this...

& " ; Class = calendar"

... to the end of the existing parameter.

Another option is to just edit the auto enter definition for the field "ApptClass_k" in the appointments table. Change the auto enter definition from this:

Code: Select all
Lower (
SeedCode_RemoveExtraReturns (

If ( ApptProjectOverview_k = 1 ;

// #### If this is a project overview...

Substitute ( ApptClass_k ; "gantt" ; "" ) & ¶ & "gantt" ;

// #### ortherwise leave the class alone...

ApptClass_k

) // End IF
) // End CCRemoveExtraReturns
) // End Lower



to this:

Code: Select all
Lower (
SeedCode_RemoveExtraReturns (

Substitute (

If ( ApptProjectOverview_k = 1 ;

// #### If this is a project overview...

Substitute ( ApptClass_k ; "gantt" ; "" ) & ¶ & "gantt" ;

// #### ortherwise leave the class alone...

ApptClass_k

) // End IF

; "calendar" ; "" ) & ¶ & "calendar"

) // End CCRemoveExtraReturns
) // End Lower


... though this edit will make it impossible to pull something out of the calendar, so I like the script edit myself (it is also a hair faster).
John Sindelar
SeedCode

Return to SeedCode Calendar

Who is online

Users browsing this forum: No registered users and 4 guests

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