Unfamiliar error

  • Thread starter Thread starter Gary Miller
  • Start date Start date
G

Gary Miller

I am getting the following error that I have never
encountered before on a form I am working on:

"Can't set the value to NULL when Checkbox property = FALSE"

This happens when changing records even if no modifications
or additions are made to a record. It occurs twice per
record change.

I have a form with one tab control and one subform. The main
form has limited code, although the subform is coded more
extensively. The main form has only one checkbox whose
default is no and TripleState = False (although I set it to
True for troubleshooting = no difference). The Neither form
is setting any controlss to false and the only reference to
null in any code is two If IsNull() references.

There are no code calls on any of the main form's events. I
put a break in the subforms OnCurrent code and the error
came up before the break and again after the break had
finished the OnCurrent of the subform.

Any ideas what may be causing this one? I am not familiar
with a 'Checkbox' property for any control.
--

Gary Miller
Gary Miller Computer Services
Sisters, OR
________________________
 
Update: I have narrowed this down to the two datepicker
controls that I have on the form. They have checkbox
properties, however when I turn them on, then I get another
error on a call to the datepicker. Is there any decent
documentation on the datepicker?

--

Gary Miller
Gary Miller Computer Services
Sisters, OR
________________________
 
Back
Top