Deleted Vba Code Question

  • Thread starter Thread starter Carl Mankat
  • Start date Start date
C

Carl Mankat

I am using Access 2K on a W2K machine.

I had a form that I was having problems with the form so decided to
start over. I deleted all of the controls, command buttons, etc. on the
form. When I looked at the vba code I found that all of the code was
still there. I experimented a little and found that if I deleted all of
the code for a form, the form still ran like normal.

Obviously, I need to start with a fresh, new form. Can someone explain
what I saw?

TIA,

Carl
 
Obviously, I need to start with a fresh, new form. Can someone explain
what I saw?

More than likely a corrupted form.. Import all the objects (and references,
if necessary) into a new empty database. Does the code still run? Probably
not. Now import everything but the bad form into another new database and
you'll have a truly clean start.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads
http://www.datastrat.com
http://www.mvps.org/access
 
Arvin said:
More than likely a corrupted form.. Import all the objects (and references,
if necessary) into a new empty database. Does the code still run? Probably
not. Now import everything but the bad form into another new database and
you'll have a truly clean start.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads
http://www.datastrat.com
http://www.mvps.org/access
Thanks for your tips.

Carl
 
Back
Top