Jump to a specific date upon opening or refresh

Notes on our latest calendar for FileMaker 13,: DayBack
Posts: 36
Joined: Tue Mar 31, 2009 2:14 am
Location: SINGAPORE
PostPosted: Fri Dec 18, 2015 6:55 pm
I like to be able to jump to a specific date upon opening or refresh calendar. May I know how to do this?

I have tired to edit Show Events Details on Calendar but not sure where to add the script step to set the dateFocus or StartDate.

Thank you
SeedCode Staff
SeedCode Staff
Posts: 190
Joined: Tue Sep 22, 2015 2:27 pm
PostPosted: Mon Dec 21, 2015 10:19 am
Upon opening the calendar, you can specify the focus date at the end of the "Upon opening" script by setting the parameter of the Perform Script["Go To WebViewer Calendar Layout"] step. The calendar mode or view is already being set in this parameter, so you can add the focus date like this:

#("sc_Mode" ; "Month") & #("sc_FocusDate" ; Get ( CurrentDate ) - 30 )

Let me know if this helps!

Dan
Posts: 36
Joined: Tue Mar 31, 2009 2:14 am
Location: SINGAPORE
PostPosted: Tue Dec 22, 2015 12:03 am
Thank you Dan. It works perfectly
SeedCode Staff
SeedCode Staff
Posts: 190
Joined: Tue Sep 22, 2015 2:27 pm
PostPosted: Tue Dec 22, 2015 8:36 am
That's great to hear!

Just in case you'd like to set the focus date after Upon Opening, there are a couple other options to navigate to a particular date described at this link:
http://www.seedcode.com/pmwiki/index.ph ... Navigation

All the best,
Dan

Return to DayBack Calendar for FileMaker

Who is online

Users browsing this forum: No registered users and 4 guests

(855) SEEDCODE
[email protected]
Follow us: