B bhelmy Registered User. Local time Tomorrow, 00:06 Joined Dec 6, 2015 Messages 62 Jan 2, 2017 #1 I have a "continuous" subform which is linked to a table which has a checkbox field. I would like to create a Check All/Uncheck All in form Attachments Test.mdb Test.mdb 428 KB · Views: 123 Last edited: Jan 2, 2017
I have a "continuous" subform which is linked to a table which has a checkbox field. I would like to create a Check All/Uncheck All in form
M marlan Registered User. Local time Tomorrow, 00:06 Joined Jan 19, 2010 Messages 415 Jan 2, 2017 #2 Code: Private Sub Check11_AfterUpdate() CurrentDb.Execute "UPDATE Table1 SET ff = " & Nz(Me.Check11, False) Me.Requery End Sub Attachments Test.zip Test.zip 38 KB · Views: 132 Last edited: Jan 2, 2017
Code: Private Sub Check11_AfterUpdate() CurrentDb.Execute "UPDATE Table1 SET ff = " & Nz(Me.Check11, False) Me.Requery End Sub
B bhelmy Registered User. Local time Tomorrow, 00:06 Joined Dec 6, 2015 Messages 62 Jan 2, 2017 #3 when to do that in my DB have error Run time error 3144 syntax error in Update Statement
M marlan Registered User. Local time Tomorrow, 00:06 Joined Jan 19, 2010 Messages 415 Jan 2, 2017 #4 First: please note I edited the above post. These two lines of code go in the checkbox AfterUpdate event handler
First: please note I edited the above post. These two lines of code go in the checkbox AfterUpdate event handler
moke123 AWF VIP Local time Today, 17:06 Joined Jan 11, 2013 Messages 4,753 Jan 2, 2017 #5 personally i prefer to have it set up to either select all or deselect all just in case they select all in error. I usually use a command button with a caption that changes. heres your db with both a button and a checkbox code. Last edited: Jan 20, 2020
personally i prefer to have it set up to either select all or deselect all just in case they select all in error. I usually use a command button with a caption that changes. heres your db with both a button and a checkbox code.