Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Clearing Check Box in a Table

Status
Not open for further replies.

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

 
Try these:
Code:
Option Compare Database
Option Explicit

Sub Uncheck()
  Forms![Form1].Check0 = 0
End Sub

Sub Check()
  Forms![Form1].Check0 = -1
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top