M
mo adesnik
I have a bunch of forms running ,and these forms set up
various user-defined class objects.
the trouble occurs when i choose a menu item which calls a
function which prompts the user to confirm and then use
the docmd.quit command in a macro to exit. (i use the
acSaveNone option.)
when I do this the infamous error "object not set or
initialized" occurs in the form_beforeUpdate() of one of
my forms or in the form_unload() of another. those events
refer to user defined objects and now Access says they are
undefined.
however, clicking the regular exit item from the file menu
works fine.
it seems like Access is erasing my objects and then trying
to call them? that shouldn't happen though?
if anyone thinks they know what's going on, i could use
the help.
Mo
various user-defined class objects.
the trouble occurs when i choose a menu item which calls a
function which prompts the user to confirm and then use
the docmd.quit command in a macro to exit. (i use the
acSaveNone option.)
when I do this the infamous error "object not set or
initialized" occurs in the form_beforeUpdate() of one of
my forms or in the form_unload() of another. those events
refer to user defined objects and now Access says they are
undefined.
however, clicking the regular exit item from the file menu
works fine.
it seems like Access is erasing my objects and then trying
to call them? that shouldn't happen though?
if anyone thinks they know what's going on, i could use
the help.
Mo