How to setup a macro to change current record yes/no field to Yes?

S

Steve Schapel

Rickster,

This is an unusual request. I guess the key point here would be *when*
do you want this to happen?
 
R

Rickster172

I want this to happen on a command button to setup a control for the current
record.
 
S

Steve Schapel

Rickster,

So you want to click a command button to tick a checkbox? Why not just
click the checkbox directly?
 
R

Rickster172

Because I want the button to do it because that record is the record I want
to print. The Yes/no fieild is invisible.
 
S

Steve Schapel

Rickster,

Ok. Now I understand! :)

It should work to use a SetValue action in your macro, with these arguments:
Item: [NameOfYourYesNoField]
Expression: Yes
 
Top