this is a new occurrence on a single format form that has worked well for years
(falls into the: "what did I do now?" and "how do I fix it?" categories
on the form there are a couple of text boxes that require a narrative input by the user. as an assist to remind themselves if they need to come back to it for one reason or another, next to them i added a toggle button to change the back color of the textbox from what ever its 'normal' color is (white...) to a a note pad yellow, and then back again.
suddenly (or at least i just noticed), when clicked to turn notepad yellow, it instead turns completely black. if you navigate from that record and back, it won't be black anymore, but it won't be notepad yellow; it will be a puke gaslight green. If is already gaslight green, when you click to return to white, again it turns black; and if you navigate away and then back, it will be white.
If you continue to click the toggle without the advance and return, the color remains black.
totally befuddled (but with much appreciation in advance)
here's the code:
Code:Const NormalColor As Long = -2147483643 Const FlagColor As Long = 9434579 Private Sub tglCatalogNoModFlag_AfterUpdate() If Nz(Me.tglCatalogNoModFlag, 0) = 0 Then Me.txtCatalogNoMod.BackColor = NormalColor Else Me.txtCatalogNoMod.BackColor = FlagColor End If End Sub