Re: Form Dirty not firing
- From: "JB" <jenniferbanzon@xxxxxxxxx>
- Date: 22 Mar 2007 18:36:48 -0700
I have already checked out the suggestions at the website you
mentioned. I could not tell if what I am experiencing is related to
error ridden code or corruption. I suspect corruption but wanted to
avoid that pain if I was unsure.
Backups are not a problem. I keep multiple copies as a history on two
different drives. I make a dup every few hours just in case as a
standard procedure.
There are no Reference issues. I have Compiled and do so frequently
after many code changes. I verified that all forms are set to Option
Explicit and added error handling to every procedure and function. I
have compacted and repaired many times. Every time the app crashed it
also forces me to do a backup and compact and repair again.
I guess my next step is to decompile. If that does not work how do I
determine if I need to rebuild the form that is causing the current
trouble versus rebuild the whole database in a new container?
Check out the suggestions at
http://www.granite.ab.ca/access/corruptmdbs.htm
YOu'll certainly want to MAKE A BACKUP (some of the cleanup procedures can
ironically destroy databases)
Some steps:
Open the VBA editor and select Tools... References. Remove or resolve any
MISSING references.
Select Debug... Compile; fix any code errors. Iterate until no errors.
Use Tools... Database Utilites... Compact and Repair.
It may be appropriate to Decompile (see how on Tony's page).
It is sometimes necessary to create a new empty database and import everything
to get rid of rubbish that Compact and Repair misses.
John W. Vinson [MVP]
.
- Follow-Ups:
- Re: Form Dirty not firing
- From: Allen Browne
- Re: Form Dirty not firing
- References:
- Form Dirty not firing
- From: JB
- Re: Form Dirty not firing
- From: Mark A. Sam
- Re: Form Dirty not firing
- From: JB
- Re: Form Dirty not firing
- From: John W . Vinson
- Form Dirty not firing
- Prev by Date: Re: Linked, Separate Subform
- Next by Date: Microsoft Access: How do I create a drop down list that stores the index value, but displays text value?
- Previous by thread: Re: Form Dirty not firing
- Next by thread: Re: Form Dirty not firing
- Index(es):
Relevant Pages
|
Loading