Microsoft
Software
Hardware
Network
Question : Clear ALL checkboxs with button action
So the code I received -
Private Sub Clear_Click()
Me![CheckBox].Value = No
End Sub
Works but only one the one record that is displayed in the split form. I need the button to clear all the values in the datasheet as well as the one displayed record. Might there be a way to clear data stored in a database column?
Thanks
Answer : Clear ALL checkboxs with button action
Replace:
Me![CheckBox].Value = No
with:
DoCmd.RunSQL "UPDATE myTable SET fldCheckbox = 0;"
always work from a backup. Replace myTable and fldCheckbox with your actual table and field names.
Random Solutions
xlThick > VBA Conditional Formatting
SQL : Validation Records Before Insert
add/edit/delete from dataset, and bind a field in dataset to a combobox,
can I copy a picture in the header section into another left header section of another sheet in the same workbook?
I asked or a password each time I run outlook 2010 Beta, why ?
Integrate a counter variable into VBA code... how to?
Problem with SQL syntax
Is there any good bluetooth software that keeps all bluetooth devices listed and could easily click and transfer.
Access Return to Main Menu
Is there an easy way to tell why a server rebooted unexpectedly?