Re: Access 2007 anomaly
- From: lgeastwood@xxxxxxxxx
- Date: Wed, 12 Sep 2007 18:55:48 -0700
On Sep 12, 8:18 pm, "Allen Browne" <AllenBro...@xxxxxxxxxxxxxx> wrote:
Lou, this problem can occur in all versions of Access.
A decompile usually fixes it.
Try this sequence as a way to fix it now and reduce the chance of it
recurring:
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.
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users -http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
<lgeastw...@xxxxxxxxx> wrote in message
news:1189644004.473296.161380@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have a weird problem in Access 2007.
I've been working in A07 for about 2 weeks when this thing began
occurring.
I'm working in the VB Code Editor and set break points for event
procedures.
The weird thing is sometime the code breaks and sometimes it doesn't
at the very same spot.
Does someone know if this is a bug in A07?
I'm stumped
Lou
Allan
This seems to have helped
Thanks
.
- Follow-Ups:
- Re: Access 2007 anomaly
- From: lgeastwood
- Re: Access 2007 anomaly
- References:
- Access 2007 anomaly
- From: lgeastwood
- Re: Access 2007 anomaly
- From: Allen Browne
- Access 2007 anomaly
- Prev by Date: Re: avoiding duplications of records
- Next by Date: Add record using VBA and SQL
- Previous by thread: Re: Access 2007 anomaly
- Next by thread: Re: Access 2007 anomaly
- Index(es):
Relevant Pages
|