Text box label (1 Viewer)

Xenix

Registered User.
Local time
Today, 04:08
Joined
Oct 8, 2001
Messages
124
I have the following code for my form:

Private Sub Label2_AfterUpdate()
If Me.prod1 = True Then
Me.Label2 = "PCD/PCX"
End If
End Sub

I have a text box called Label2 on the form, why don't this work?

thanks in advance
Mike

[This message has been edited by Xenix (edited 02-07-2002).]
 

Pat Hartman

Super Moderator
Staff member
Local time
Yesterday, 23:08
Joined
Feb 19, 2002
Messages
43,368
You need to move the code to the AfterUpdate event of the prod1 field.
 

Users who are viewing this thread

Top Bottom