You can't assign a value to this object

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello -

I just discovered I get the above error (#2448) when a user tries to close
Access by clicking the "X" in the Application control box (that is, the
Access program X, not an X in one of my forms).

This happens when one particular form is open and the X in Access is
clicked. How do I get rid of the message?
 
Hello -

I just discovered I get the above error (#2448) when a user tries to close
Access by clicking the "X" in the Application control box (that is, the
Access program X, not an X in one of my forms).

This happens when one particular form is open and the X in Access is
clicked. How do I get rid of the message?

Correct the errors in the VBA code or macro in that form's events -
the Close, BeforeUpdate, AfterUpdate events would be the first place
to look.

John W. Vinson[MVP]
 
Thanks for your reply, John!

What do you mean by "correct the errors"? How do I do that if I don't know
what's causing the error? I don't have anything in the Close, BeforeUpdate
or AfterUpdate events.
 
Thanks for your reply, John!

What do you mean by "correct the errors"? How do I do that if I don't know
what's causing the error? I don't have anything in the Close, BeforeUpdate
or AfterUpdate events.

Do you have anything in ANY events? Can you add data, edit data,
navigate from record to record with this form?

John W. Vinson[MVP]
 
Hi John -

Thanks for replying again. I can add records. That is all the form is
supposed to allow. I tried putting DoCmd.SetWarnings False in the Form
Close, BeforeUpdate and AfterUpdate events. I still get the message.

I tried to get it to at least display the error number through code in
Form_Error, to try to figure out where it's occuring. It returns nothing.

This happened after I split the database. Before that, it is all right.
 
Back
Top