C
carljonas
Perhaps a to simple question. However I´m lost and I´m unable to find
guidance through older postings here. Here´s the prerequisite: I have
a command button in a form. With a single button click I want to loop
through all records in a table/form and uncheck every checked
checkbox. Here´s my start up code:
Dim Counter As Integer
For Counter = 1 To ' End of records; unsure of correct code
If Val = True Then
Val = False
End If
Next Counter
End Sub
For example if i put the first line as 'For Counter =1 to 10' then
the first record is unchecked, however the code does not uncheck the
rest. Any advice on this seemingly easy task would be appreciated.
//Jonas
guidance through older postings here. Here´s the prerequisite: I have
a command button in a form. With a single button click I want to loop
through all records in a table/form and uncheck every checked
checkbox. Here´s my start up code:
Dim Counter As Integer
For Counter = 1 To ' End of records; unsure of correct code
If Val = True Then
Val = False
End If
Next Counter
End Sub
For example if i put the first line as 'For Counter =1 to 10' then
the first record is unchecked, however the code does not uncheck the
rest. Any advice on this seemingly easy task would be appreciated.
//Jonas