Disabling a popover button and changing its Normal fill color in specific records possible?

Discussion created by AndreasvanHaren on Sep 24, 2018
Latest reply on Sep 26, 2018 by AndreasvanHaren

So what I am trying to do is that when I open a specific record, a popover button on another layout should become disabled and its Normal fill color should change. This to make clear that this popup button should no be used in this record.


I don't have much program experience, but from my basic programming days when I was younger, I would do something like this:



current record is (for example) record 3


disable this popover button

fill color is 8E8E8E

End If


But I am sure that this isn't correct. How would this be formulated in Filemaker?


And I assume this calculation should be placed in the Conditional Formating field of the popover button?