Rename controls on form in design view |
Post Reply |
Author | |
Crystal Long
Microsoft MVP Joined: 21 May 2012 Location: Colorado Status: Offline Points: 35 |
Post Options
Thanks(0)
Posted: 12 Nov 2013 at 11:45am |
this code:
FORM:
Be sure to check the control Subs behind the form (ctrl-home to go to top, drop procedures list in upper right and see if there are names like 'myoldcontrolname_AfterUpdate' which means it is not hooked up to anything -- otherwise you would have to navigate to the code via the object list dropdown in the upper left then the event dropdown in the upper right) to make manual changes to the sub names in the declaration line. After compiling and saving, ensure that [Event Procedure] is where it needs to be on the Property Sheet. If it is not, type "[" in the property to trigger Access to fill it in. Just because the code is behind the form does not mean it is still 'hooked up'. Once you have changed all procedures with event names in the general list, you can be sure everything is hooked up. Avoid naming your custom routines in a way that looks like they belong to control events. At some point, I hope to hook in my code documenter* to make more of the changes needed by renaming -- thanks to those that have found it and let me know * Crystal's Code Documenter for Access (update to document code in Excel and other Office projects on my back burner ... emails showing interest can help move that forward) http://www.accessmvp.com/strive4peace/CodeDocumenter.htm This tool can be used one form at a time to rename controls ~ simply run this:
|
|
Warm Regards,
Crystal Microsoft MVP Remote Training & Programming Let's Connect and Build Together http://www.AccessMVP.com/strive4peace http://YouTube.com/LearnAccessByCrystal ~have an awesome day ~ |
|
Sponsored Links | Want a good read? Try The Summer of His Life (available on Amazon!) |
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |