Imported Form Will Not Save

O

OceansideDJ

I imported a form from another database. I can edit its controls, and click
save, but then when I try to close it with the Close Box, it asks if I want to
save it. Click Yes, and nothing happens. Nothing with Cancel. 'No' closes it,
but my edits are gone when I open it again in Design mode. Save As asks for a
new form name, but does not create a new form.

If I try to copy and paste the form to a new name, I get:
"Name conflicts with existing module, project, or object library."

Just tried another thing: I cannot open the VBA editor on any control on this
form. Nothing happens on Build Event, or on trying to edit code in the
Properties Event tab. No problem if I create a new form.

I am able to create, edit, and save other forms in this database. (Access2000,
XP Pro).


Thanks,

Mike
 
J

Jeff Conrad

Almost sounds like some corruption in this form.
Try importing only that form into a new empty database container.
Compile the code and then test seeing if you can make and save changes.
If not, that form has definitely bit the dust.
You will then need to recreate it from scratch.

In any event I would definitely import all objects except that form into a new database container
and immediately compile the database before doing anything else. The corruption in that form could
likely "spread" into other areas of the old database so it is best to start new.

See MVP Tony Toews' article for some additional help:

http://www.granite.ab.ca/access/corruptmdbs.htm
 

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