Error on selecting checkbox

B

Bob Koorn

Hi,

I have a form in an access project that displays a number of text fields and
checkboxes. When I select a record using the record navigation buttons, and
the first edit I make is checking or uncheking a checkbox, everything works
fine. However, after selecting a record using my choselist, trying to check
or uncheck a checkbox results in an unknown error that forces Access to
close. The strange thing is, that when I click on a textbox first (even
without editing it), and then try to check or uncheck a checkbox, everything
works fine.
Does anybody know what causes this problem to occur? The code that I use on
my choselist is as follows:

Dim rs As Object
Set rs = Me.Recordset.Clone
rs.Find "[auto_naam]='" & Me![chlDossier] & "'"
If Not rs.EOF Then Me.Bookmark = rs.Bookmark

Thanks in advance,

Bob.
 
Top