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).