Rocky Smolin at Beach Access Software
rockysmolin at bchacc.com
Mon Mar 12 19:46:50 CDT 2007
Because after I find it I have to go to the language table to see if the translation is there. And as the product changes I am adding messages (and controls) and want to be sure that I got them all in the language tables. So I thought a push=button checker would be a nifty time-saver. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, March 12, 2007 3:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Looking at lines of code in code Just curious, why not use find/replace? If you want to do it programmatically, no need to open the forms, just run through the modules, there is a find option in there.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, March 10, 2007 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Looking at lines of code in code Dear List: I have a need to programmatically look at every line of code behind all forms looking for the string "TranslateMsgbox". I'm floundering around here a bit. I know how to cycle through the forms collection. But once I open the form in design view and Set frm = Forms(strFormName) I can't figure out how to loop through every line of code behind the form. Any suggestions appreciated. MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.8/718 - Release Date: 3/11/2007 9:27 AM