Adding fields to this display is a little odd since the display is printed using a single calc field.
So if you wanted to show event end times on this layout here is what you'd do.
Find the following text in the calc "ApptTitleDisplayCalc" in the Appointments table:
- Code: Select all
// ########## Show appointment times on some layouts.
If ( PatternCount ( Get ( LayoutName ) ; "Print" ) or PatternCount ( Get ( LayoutName ) ; "Daily" ) or PatternCount ( Get ( LayoutName ) ; "Year" ) or PatternCount ( Get ( LayoutTableName ) ; "Resource" ) ;
If ( not IsEmpty ( ApptTimeStart ) ; SeedCode_TimeToText ( ApptTimeStart ; " am" ; " pm" ) & " " ; "" ) &
If ( not IsEmpty ( ApptUser_kf ) ; Substitute ( ApptUser_kf ; "¶" ; ", " ) & " " ; "" )
) & // End if Print
// ########## Continue with appointment details
And replace that with this:
- Code: Select all
// ########## Show appointment times on some layouts.
If ( PatternCount ( Get ( LayoutName ) ; "Print" ) or PatternCount ( Get ( LayoutName ) ; "Daily" ) or PatternCount ( Get ( LayoutName ) ; "Year" ) or PatternCount ( Get ( LayoutTableName ) ; "Resource" ) ;
If ( not IsEmpty ( ApptTimeStart ) ; SeedCode_TimeToText ( ApptTimeStart ; " am" ; " pm" ) & If ( not IsEmpty ( ApptTimeEnd ) ; " ~ " ; " " ) ; "" ) &
If ( PatternCount ( Get ( LayoutName ) ; "Print" ) and not IsEmpty ( ApptTimeEnd ) ; SeedCode_TimeToText ( ApptTimeEnd ; " am" ; " pm" ) & " " ; "" ) &
If ( not IsEmpty ( ApptUser_kf ) ; Substitute ( ApptUser_kf ; "¶" ; ", " ) & " " ; "" )
) & // End if Print
// ########## Continue with appointment details
That's it!