$$sc_ResourceColumns mismatch
Posted: Sat Nov 30, 2019 4:32 pm
We recently upgraded all our Macs to FileMaker Pro 16 in order to resolve an esoteric portal bug. Since then, DayBack has been inconsistently loading the wrong number of resource columns, even though the $$sc_ResourceColumns global is set correctly.
The background is that we have 1 DayBack file with 4 sources. When users enter DayBack, they select a location and based on that, the correct Resource list is loaded, the appropriate # of ResourceColumns are set and DayBack loads in ResourceSchedVert mode, 1 day only.
The problem is that, since upgrading to FMP16, when users switch to a different location, even though $$sc_ResourceColumns loads the correct # of columns, they only see the # from before they switched, and the # of resources in the Resources pulldown menu shows the old number.
In the attached image, this location has 23 columns, and $$sc_ResourceColumns value is indeed 23, but '6' shows up in the pulldown menu, and indeed only 6 columns are shown - that was the #of columns from before they switched. Users either have to page through 4 pages of resources, or manually-select '23'.
Was there an easier way to describe this issue? Probably, but I haven't had much sleep. Sorry.
Eugene