Jan 30, 2003 #1 sjmojeck Technical User Sep 6, 2001 24 US I am trying to write a macro that will reset check boxes once a report is run. I have tried the following but none have worked. Set Value: [Query]![envelopes].[Value] =Off Set Value: [Query]![envelopes].[Value] =False Run Code: me.checkbox1.value=vbuncheck
I am trying to write a macro that will reset check boxes once a report is run. I have tried the following but none have worked. Set Value: [Query]![envelopes].[Value] =Off Set Value: [Query]![envelopes].[Value] =False Run Code: me.checkbox1.value=vbuncheck
Jan 30, 2003 #2 Zathras Programmer Nov 12, 2002 3,317 US Try these: Code: Option Compare Database Option Explicit Sub Uncheck() Forms![Form1].Check0 = 0 End Sub Sub Check() Forms![Form1].Check0 = -1 End Sub Upvote 0 Downvote
Try these: Code: Option Compare Database Option Explicit Sub Uncheck() Forms![Form1].Check0 = 0 End Sub Sub Check() Forms![Form1].Check0 = -1 End Sub