You could also tie the refresh to a custom menu omit item to trigger it as well as omitting the record. This should be trigger from the menu and I expect the status bar (but I may be wrong on that second point).
Thank you for your post.
FileMaker Pro does not refresh the layout on all actions. Going to Find mode does refresh the layout, but when you click "Omit", FileMaker does not need to refresh the layout, so the conditional formula does not re-evaluate. Therefore, if you switch to a different Find request and back to the original request, the layout will be refreshed and the condition is activated. Or, as you discovered, Refresh Object or a script with a Refresh Window will work.
Hi Gary, tx for that idea although we're not using custom menus in this solution. Tx Nick.
Hi. Tx for your reply and apols for the tardy response. The workarounds are not ideal and having FileMaker refresh the layout for the Omit/Include button, conditional formatting and the visibility calc would be welcomed in a future releasee. I have ended up hiding the status bar completely so the user has to toggle a scripted 'Omit" button which then displays the 'This is a Omit request' message. Tx again for getting back to me. Nick T.