Highlight certain fields on continuous form
Posted on 2014-02-25
Good morning experts,
I have a continuous form. This includes a Yes/No field called "Waived"
I want to include a description on the continuous form, rather than the tick itself.
I have added a text box called WaivedText, containing the text "Waived" and set its Visible property to No.
I then included the following code for the Section OnPaint event:
Private Sub Detail_Paint()
If Me.Waived = True Then
WaivedText.Visible = True
But this will not work because I get the error:
"You can't change the value of this property in the OnPaint event."
I couldn't quite figure out where it should be.
Appreciate some help on this.