Why do I get "This action will reset the current code in break mod

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i am using a2k and when i attempt to close a form of mine, this "i" message
pops up. can anyone try to tell me how to determine a) the 'why' behind it
and b) the 'what' to do about the message?

thanks in advance for any help.

-ted
 
Why - You tried to close the form
What to do - Don't close the form :)

Now that I have that out of my system. My guess is that at some point you
were in debug mode while you had the form open and saved the form, or made
modifications to the form's code while the form was not in design view. I
would suggest you open the form in design view. In Debug, Clear All
BreakPoints, recompile and save. Then try it again. Remember, this is only
a guess, but as a point of interest, making modifications to code while you
are in form view or saving a form while there are breakpoints set can cause
behaviour like this.

Post back if this doesn't help.
 
klatuu,

after implementing your suggestions, i reprised the behavior that seems to
tick this thing off and voila, it has not gone away. perhaps, i ought to keep
the form open permanently :-)

-te
 
Or, never open it :-(

This is unusual. Are you calling any functions or subs that are not in the
form module? If so, include those modules in this exercise (not that it will
do any good, I'm just trying to keep you busy).

Copy all the code in the form's module to an external text file.
Delete all the code in the form's module.
Set the form's Has Module property to No.
Save the form
Recompile
Compact and repair the database.
Open the form in design view
Paste the code back into the form.
Recompile
Save the form.
If problem solved then
Call ForBeer
Else
Do While AbleToStand
Call ForBeer
Loop
End If
 
or give up beer forever :-(

i don't know what i did, but following your astute instructions, i modified
the code in one of my AfterUpdate modules a smidgen and the blasted message
seems to have ceased plaguing us.

many thanks,

-ted
 
Back
Top