On Sep 24, 2:22 pm, "'69 Camaro" <ForwardZERO_SPAM.To.
69Cam...@Spameater.orgZERO_SPAMwrote:
You're welcome.
By the way, many a time when I have a breakpoint, I do end up altering the
code..
Break yourself of this habit in the VB Editor. It corrupts the code when
one or more versions of the code (there are 11 of them) can't synch. The VB
Editor isn't like other IDE's in this respect.
HTH.
Gunny
Seehttp://www.QBuilt.comfor all your database needs.
Seehttp://www.Access.QBuilt.comfor Microsoft Access tips and tutorials.
Blogs:http://www.DataDevilDog.BlogSpot.com...utors2.htmlfor contact
info.
I had the same issue.
This is what Allen Browne advised.
1. Uncheck the boxes under:
Office Button | Access Options | Current Database | Name
AutoCorrect
Explanation of why:
http://allenbrowne.com/bug-03.html
2. Compact the database to get rid of this junk:
Office Button | Manage | Compact/Repair
3. Close Access. Make a backup copy of the file. Decompile the
database by
entering something like this at the command prompt while Access is not
running. It is all one line, and include the quotes:
"c:\Program Files\Microsoft office\office\msaccess.exe" /decompile
"c:\MyPath\MyDatabase.mdb"
4. Open Access (holding down the Shift key if you have any startup
code),
and compact again.
5. Open a code window.
Choose Options on the Tools menu.
On the General tab, make sure Error Trapping is set to:
Break on Unhandled Errors
and the Compile on Demand is unchecked.
6. Still in the code window, choose Compile from the Debug menu.
Fix any errors, and repeat until it compiles okay.