Text box label

Xenix

Registered User.
Local time
Today, 13:49
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).]
 
You need to move the code to the AfterUpdate event of the prod1 field.
 

Users who are viewing this thread

Back
Top Bottom