Hale, Jim
Jim.Hale at FleetPride.com
Fri Mar 17 15:06:10 CST 2006
I often run into a problem where, after many changes, Access just refuses to "see" the changed code and only runs the previous old code. It goes on coffee break/strike or something. I have to decompile and import into a new container. Very frustrating. I wouldn't be surprised if the two problems are similar. No solutions, just commiseration since misery loves company. Jim Hale -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, March 17, 2006 11:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] KeyDown Problem It just happened again. I'm beginning to think there's a setting or something not set correctly. I copied an existing subform, made some mods to the new one (since it was similar to the old one) and dropped it onto a tab form. A double click event in a text box on the tab form but NOT in the sub form refused to fire. Went to code. Compiled. Clean! Eventually I figured out that I had forgotten to delete all the code behind sub form when I copied the old sub form to the new one. The new one was referencing controls on the old sub form which weren't on the new one. But no compile error. Deleted all the code behind the new sub form and everything worked. But the compile was clean. And yes I do have OPTION EXPLICIT in every page of code I write. Any ideas what's causing this? Regards, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email.