AfterUpdate Event procedure

SoxPats83

Registered User.
Local time
Yesterday, 21:24
Joined
May 7, 2010
Messages
196
i have a form with many text boxes and many labels positioned next to them. the text boxes and labels are postioned in a way that looks like a grid. if the end user types something into the first text box, the already in visible label next to it becomes visible
Code:
Private Sub Text_AfterUpdate()
Me.Label349.Visible = True
End Sub
this works great, but moving on this same coding stops working for making the label visible...
Code:
Private Sub Text01_AfterUpdate()
Me.Label350.Visible = True
End Sub
 
Private Sub Text02_AfterUpdate()
Me.Label351.Visible = True
End Sub
 
Private Sub Text03_AfterUpdate()
Me.Label352.Visible = True
End Sub
and so on....
any ideas as to why this may be happening?
 
Did you by chance just copy/paste the code and change the text? If so, Access never associated the code with the event. You would need to go into the textbox properties, put [Event Procedure] in and click on the ellipsis (...).
 

Users who are viewing this thread

Back
Top Bottom