G
Guest
I've developed a test form with Option Groups containing check boxes. For the
ease of the end user, I'm trying to change the color of the border when a
user has chosen an option within a group. I've tried using an After Update
event procedure behind the Option Group with the following code to no avail.
Option Group name is Frame35. Color for border is blue (16711680). Normal
setting with no color is 0.
Private Sub Frame35_AfterUpdate()
If IsNull([Frame35]) = False then
Me!Frame35.BorderColor = 16711680
Else
Me!Frame35.BorderColor = 0
End If
End Sub
Nothing happens. I even tried just adding Me!Frame35.BorderColor = 16711680
after all of the diffent events behind the Option Group and nothing changes
the border color. How can I use VBA to change to border color of the option
group after a user selects a choice within that group?
Thanks for any help
ease of the end user, I'm trying to change the color of the border when a
user has chosen an option within a group. I've tried using an After Update
event procedure behind the Option Group with the following code to no avail.
Option Group name is Frame35. Color for border is blue (16711680). Normal
setting with no color is 0.
Private Sub Frame35_AfterUpdate()
If IsNull([Frame35]) = False then
Me!Frame35.BorderColor = 16711680
Else
Me!Frame35.BorderColor = 0
End If
End Sub
Nothing happens. I even tried just adding Me!Frame35.BorderColor = 16711680
after all of the diffent events behind the Option Group and nothing changes
the border color. How can I use VBA to change to border color of the option
group after a user selects a choice within that group?
Thanks for any help