L
ladybug via AccessMonster.com
I have the following code on Before Update of a Form:
If Me.Frame14 = 2 Then
Me.CommentsReasons.Visible = True
Else
Me.CommentsReasons.Visible = False
End If
If Me.Frame14 = 2 Then
Me.DescofChange.Visible = True
Else
Me.DescofChange.Visible = False
End If
If Me.Frame37 = 2 Then
Me.CommentsReasons2.Visible = True
Else
Me.CommentsReasons2.Visible = False
End If
If Me.Frame37 = 2 Then
Me.DescofChange2.Visible = True
Else
Me.DescofChange2.Visible = False
End If
I had the frame14 in there previously and it worked just fine. I made the
addition of Frame37 to the form and now I get an error and it highlights
..Visible =
under the section for Frame37
Can someone help me uderstand where I am going wrong with this code. Sorry,
vba is not in my vocabulary
If Me.Frame14 = 2 Then
Me.CommentsReasons.Visible = True
Else
Me.CommentsReasons.Visible = False
End If
If Me.Frame14 = 2 Then
Me.DescofChange.Visible = True
Else
Me.DescofChange.Visible = False
End If
If Me.Frame37 = 2 Then
Me.CommentsReasons2.Visible = True
Else
Me.CommentsReasons2.Visible = False
End If
If Me.Frame37 = 2 Then
Me.DescofChange2.Visible = True
Else
Me.DescofChange2.Visible = False
End If
I had the frame14 in there previously and it worked just fine. I made the
addition of Frame37 to the form and now I get an error and it highlights
..Visible =
under the section for Frame37
Can someone help me uderstand where I am going wrong with this code. Sorry,
vba is not in my vocabulary