option box enabled after quantity inputed

tubar

Registered User.
Local time
Today, 15:13
Joined
Jul 13, 2006
Messages
190
im trying to activate four option buttons after the user has inputted a number greater then 0 in the quantity text box. can some on help me with a after update code for the quantity text box...or is there another way?
 
i have tried this code both in the on load of the form and the after update of text25...the option buttons are always disabled.--and the enable property of each option is yes


Private Sub Text25_AfterUpdate()
If Me.Text25 = ">0" Then
Me.Option7.Enabled = True
Me.Option19.Enabled = True
Me.Option9.Enabled = True
Me.Option21.Enabled = True
Me.Option12.Enabled = True
Me.Option23.Enabled = True
Else
Me.Option7.Enabled = False
Me.Option19.Enabled = False
Me.Option9.Enabled = False
Me.Option21.Enabled = False
Me.Option12.Enabled = False
Me.Option23.Enabled = False
End If

End Sub
 
How about

If Me.Text25 > 0 Then
 

Users who are viewing this thread

Back
Top Bottom