Hi,
on a subform open event the following code should change the labels of an option groups buttons ... but doesnt
ne ideas welcome
Private Sub Form_open(Cancel As Integer)
Select Case Me![vdcat]
Case "1"
Me!opt1.Caption = "1"
Me!opt2.Caption = "2"
Me!opt3.Caption = "3"
Me!opt4.Caption = "4"
Case Else
Me!opt1.Caption = "Yes"
Me!opt2.Caption = "No"
Me!opt3.Caption = "N/A"
[opt4].Visible = False
End Select
End Sub
on a subform open event the following code should change the labels of an option groups buttons ... but doesnt
ne ideas welcome
Private Sub Form_open(Cancel As Integer)
Select Case Me![vdcat]
Case "1"
Me!opt1.Caption = "1"
Me!opt2.Caption = "2"
Me!opt3.Caption = "3"
Me!opt4.Caption = "4"
Case Else
Me!opt1.Caption = "Yes"
Me!opt2.Caption = "No"
Me!opt3.Caption = "N/A"
[opt4].Visible = False
End Select
End Sub