Lol - I’ll get you there eventually. Do the same thing in an AfterField change on the OrderDtl.RevisionNum field By golly if that dont work we’ll hook directly to the damn control
Something happens now! Strangely, the message box shows the opposite of what it should say. I’ve now changed it over to an EpiShape. If I select an unapproved revision, the color changes to yellow, but when I select an approved revision, it stays yellow. Then when I select an unapproved revision, it changes to green. It seems like it’s changing to the color that corresponds to the previous selection. I’ll try switching up the if statement.
Also, the title in EpiShape is not changing accordingly…
As for the second part of my comment…I thought the properties of the EpiShape determe the caption (enabled vs disabled)…that’s not what I was looking for. There must be a property of EpiShape that changes that.
I ended up going back to the checkbox bound to STV_PartRev.Approved, then created an event for when the custom checkbox gets checked or unchecked. I then put an if statement in the event handler that changes the color and caption for the epiShape.