I have one particular Access program, that if you force a break by hitting Ctl/Break, and then hit the F8 key to go to next line of code, instead jumps back to the first line of the function. Does anyone have any idea what causes this?
Perhaps incremental compiling is better. The idea is; when you make changes to your code, the entire project isn't recompiled (changed to executable form) and re-linked (making sure things like global variables and function calls point to the correct location in the executable code); only affected areas are re-linked. This is very complicated, and occasionally can cause problems; decompile may help.
Ok. This code is running in a big plant and it gets changed and recompiled constantly. Are you saying that if the code is being constantly recompiled it should occasionally be decompiled ? I have had an occasional mdb that had problems that were fixed by creating a new mdb and importing all the objects from the corrupt MDB, and this fixed the problem. I am wondering if doing this essentially accomplishes the same thing as decompiling.
BTW- We always recompile after changes due to a Microsoft bug where when you went to open a code module you would get some type of nebulous network error and the code modules in the mdb were lost. Microsoft told us this was due to not recompiling the MDB's after changes.
I too have had problems that require importing all objects to a new database, which is a complete pain in the body part of your choice when you have a secure database.
However, the necessity for that has completely gone away since I discovered, and used, the decompile option.
So, I'd definitely recommend it. However, I'm using Access 97, perhaps other versions are more stable. It has been my experience, however, that stability may actually decrease on a new version (see Windows ME)
Mr. BeeTee - I appreciate all your help on this. Thenext time this happens I will try the decompile, and perhaps bother you with more questions. Until then - thanks!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.