S Steve Schapel Sep 16, 2008 #2 Rickster, This is an unusual request. I guess the key point here would be *when* do you want this to happen?
Rickster, This is an unusual request. I guess the key point here would be *when* do you want this to happen?
R Rickster172 Sep 16, 2008 #3 I want this to happen on a command button to setup a control for the current record.
S Steve Schapel Sep 16, 2008 #4 Rickster, So you want to click a command button to tick a checkbox? Why not just click the checkbox directly?
Rickster, So you want to click a command button to tick a checkbox? Why not just click the checkbox directly?
R Rickster172 Sep 17, 2008 #5 Because I want the button to do it because that record is the record I want to print. The Yes/no fieild is invisible.
Because I want the button to do it because that record is the record I want to print. The Yes/no fieild is invisible.
I imconfused Joined Sep 17, 2008 Messages 3 Reaction score 0 Sep 17, 2008 #6 if the checkbox is called 'checkBox' you could put the following code on the 'On Click' event of the command button; Me.checkBox = -1then when you click the command button, checkBox is updated with a tick, is that what you mean?
if the checkbox is called 'checkBox' you could put the following code on the 'On Click' event of the command button; Me.checkBox = -1then when you click the command button, checkBox is updated with a tick, is that what you mean?
S Steve Schapel Sep 17, 2008 #7 Rickster, Ok. Now I understand! It should work to use a SetValue action in your macro, with these arguments: Item: [NameOfYourYesNoField] Expression: Yes
Rickster, Ok. Now I understand! It should work to use a SetValue action in your macro, with these arguments: Item: [NameOfYourYesNoField] Expression: Yes