using different code on a copied form

  • Thread starter Thread starter Jess
  • Start date Start date
J

Jess

Hi, I am using Access 2002 and I copied one of my forms,
changed the buttons and code, and saved.

Now the original form uses the code from the second,
copied form. I can tell because I am still working on
the code for the second form and an error brings up the
code.
However, when I go into design view and look at the code,
the old code is still there.

When I replace the code through the error screen with the
old code, it switches the whole preocess around; now my
new copy uses the code from the original. Could anyone
help with this?

Jessica Wunsch
AU Counseling Center Graduate Student for Web and Database
 
Jess,

Chances are you missed a call or something that you did not change the name
of; put a break point on the first executable line in the code run by the
event that produces the problem (button click?), and debug stpping through
from there (pressing F8 to execute one line at a time). This will help you
identify the wrong branching.

HTH,
Nikos
 
Back
Top