One form in an Access 2000 format database has begun to show unexplained behaviour, whether opened in Access 2000 or 2003.
When I open the form (only Form view allowed), then switch to Design view, and then immediately close the form without making any changes, Access prompts:
“Do you want to save changes to the design of form …?”
Only one form in the database displays this behaviour, and consistently every time I do the above. In an earlier backup, closing the form in Design view proceeded normally without the prompt. The database is still in development, but I don’t recall what specific design change may have produced this effect.
(Typically, you receive such a prompt after viewing a form in Datasheet view, if for example you change a column width, but I’m not using Datasheet view with this form.)
The problem does not apparently affect the database user, and there is no data loss or corruption, but it is an inconvenience and irritant for me!
This is what I’ve done to investigate the problem, following many of Allen Browne’s tips at allenbrowne.com:
Back End
Although I didn’t suspect it, I imported it into a new database.
Front End
With a copy of the database:
1. Used Compact and Repair on a copy of the database.
2. Used command line to decompile the project code, then re-compiled.
3. Used command line to SaveAsText the offending form, then deleted the form in Database window, then used LoadFromText to re-create the form.
None of the above steps resolved the problem.
Any suggestions for what I might try next, or does anyone have a possible explanation for this behaviour?
James
When I open the form (only Form view allowed), then switch to Design view, and then immediately close the form without making any changes, Access prompts:
“Do you want to save changes to the design of form …?”
Only one form in the database displays this behaviour, and consistently every time I do the above. In an earlier backup, closing the form in Design view proceeded normally without the prompt. The database is still in development, but I don’t recall what specific design change may have produced this effect.
(Typically, you receive such a prompt after viewing a form in Datasheet view, if for example you change a column width, but I’m not using Datasheet view with this form.)
The problem does not apparently affect the database user, and there is no data loss or corruption, but it is an inconvenience and irritant for me!
This is what I’ve done to investigate the problem, following many of Allen Browne’s tips at allenbrowne.com:
Back End
Although I didn’t suspect it, I imported it into a new database.
Front End
With a copy of the database:
1. Used Compact and Repair on a copy of the database.
2. Used command line to decompile the project code, then re-compiled.
3. Used command line to SaveAsText the offending form, then deleted the form in Database window, then used LoadFromText to re-create the form.
None of the above steps resolved the problem.
Any suggestions for what I might try next, or does anyone have a possible explanation for this behaviour?
James