Not sure on a VBA code

ct2013

Registered User.
Local time
Today, 13:53
Joined
Jun 6, 2013
Messages
87
Hi there,

i am trying to do some vba or macro coding but keep getting errors. I want the following

If the button in my form is ticked then place in the textbox called "txtYes7" = "7"

i tried AfterUpdate on the Box:

Code:
If me.check7 = yes then me.txtYes7 = "7"

please help.
Many thanks
 
What errors?? If the field is numeric you don't want quotes around the 7.
 

Users who are viewing this thread

Back
Top Bottom