Page 1 of 1

edit on popover not saving

PostPosted: Fri Dec 23, 2016 9:49 am
by martinc
Hi,

When we change the Status on the popover, it changes briefly in the web view of the calendar but then reverts back to how it was prior to the edit...At one point, we set the popover to not display the Status and recently changed the field that we use for Status.

Thanks

Martin

Re: edit on popover not saving

PostPosted: Fri Dec 23, 2016 10:15 am
by John Sindelar
Hi Martin,

Sounds like the field you're using for status is being edited after the change is sent from DayBack. This can happen in two cases:

1. The field you're using for status is an auto-enter calc. So regardless of the edit passed in from DayBack, the calc is re-evaluating and then DayBack is rendering the final state of the event. This is why you see it change after you submit the edit: DayBack sends your edit to FileMaker and then asks for the event again so it can reflect any changes made by things like auto-enter calcs.

2. You may have modified the edit script in DayBack itself to do something with the status. If that sounds like a possibility you can check your work by opening the script "Create Edit Delete Event..." and find the section around line 163 that deals with "Status". The stock DayBack script sets the status field to...

Substitute (
$sc_Status ;
[$sc_NullSub ; ""]
)

...If you see more there then you may have hard-coded a status outcome in the past.

I hope that one of these two options helps you find out what's happening.

- John