G
Guest
Hi this is the second time Ive tried to use an if and else statement and I
get the "Else without if" error, in this instance I want text814 box to be
visible if the two conditions are true, otherwise (else) for the text box to
be invisible. Is it a syntax error or have I got the logic incorrect?
thanks Timboo.
Private Sub Text814_AfterUpdate()
If [Check819] =True And [Check41] = True Then Me!Text814 = Visible
Else: Me!Text814 = inVisible
End If
get the "Else without if" error, in this instance I want text814 box to be
visible if the two conditions are true, otherwise (else) for the text box to
be invisible. Is it a syntax error or have I got the logic incorrect?
thanks Timboo.
Private Sub Text814_AfterUpdate()
If [Check819] =True And [Check41] = True Then Me!Text814 = Visible
Else: Me!Text814 = inVisible
End If