Code working but not straight away!

B

Bob

This code is selecting all my check boxes after I have to close the form and
re-open, can it be altered to work without closing and opening the form
Thanks for any help...........Bob

Private Sub Command19_Click()
Dim strsql As String

strsql = "UPDATE tblHorseInfo SET tblHorseInfo.Worksheet = True"

DoCmd.RunSQL strsql

End Sub
 
Top