That's interesting, moke123. But that code you examined had a bug which would cause the database to close spontaneously while moving from form view to design view.
I have, on occasion, had error messages about the odd undeclared variable used in some code, but not often. Being undeclared doesn't...