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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top