Show Event Details on Calendar (from another file)

Notes on our latest calendar for FileMaker 13,: DayBack
SeedCode Staff
SeedCode Staff
Posts: 357
Joined: Tue Nov 08, 2016 1:54 pm
PostPosted: Tue Feb 06, 2018 12:00 pm
Hi Jim,

If the DayBack file is closed, then all the global variables that are set in the "Upon Opening" script are cleared. The "Show Event Details on Calendar..." script assumes that these variables are already set. In order to account for this, you could add the following just before line 34 (#Clear source specific variables) of the "Show Event Details on Calendar..." script to set these global variables:

Code: Select all
If [$$sc_UponOpening  ≠  "Success"]
    Perform Script ["Upon Opening"]
End If


Let me know if that helps resolve the issue.

Regards,

KC
Posts: 109
Joined: Fri Jul 17, 2009 7:44 am
PostPosted: Tue Feb 06, 2018 12:26 pm
I tried that and I still get the error. I checked if the variable $$sc_UponOpening was set to "Success" and it was. So the variables should be present but the problem persists. I can see in the darkened background that the correct event did open.
SeedCode Staff
SeedCode Staff
Posts: 357
Joined: Tue Nov 08, 2016 1:54 pm
PostPosted: Tue Feb 06, 2018 1:50 pm
Hi Jim,

We'll probably need to take a look at your files to see what's going on here. I'll be reaching out via email to troubleshoot this further.

Regards,

KC
Posts: 109
Joined: Fri Jul 17, 2009 7:44 am
PostPosted: Tue Feb 06, 2018 3:49 pm
Just to complete this thread for others, the issue was a typo on my part. Once I fixed that, all was working. (It was the old case of an IF statement closing with an incorrectly spelled global variable :roll: )
Previous

Return to DayBack Calendar for FileMaker

Who is online

Users browsing this forum: No registered users and 3 guests

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