Drew Wutka
DWUTKA at Marlow.com
Mon Feb 22 16:57:45 CST 2010
Much more difficult to troubleshoot. So that would apply to complex macros. Not to mention there is no errorhandling. So if we are talking about using a macro to open a form, why not? The only logic I could use against a simple process macro is that if the object you use has code behind it, it is more difficult to see what all processes are at work. (ie, if you have an OnClick and a MouseOver event working, one is code, one is a macro, you can't really see details of both at the same time. Nor would you even see the other event is active from the code page.) We have databases here at work with loads of macros. They are easy to create. My only true gripe with the Macro portion of Access is that it's nothing like what Word/Excel have, where the Macros are actually created in VBA, allowing much more elegant modifications. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, February 22, 2010 4:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Using macros - good thing or bad? Was RE: OTsearchinname attachments in outlook2003 Is there a real reason not to? I've heard some macrophobic language on the list but don't really know if it's because macros are kind of 'old school', not the moderne technique, or if there's a good reason not to use them. I read here also that they've been kind of rehabilitated in A2K7 to the dismay of some. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, February 22, 2010 2:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Using macros - good thing or bad? Was RE: OT searchinname attachments in outlook2003 Interesting question Rocky. Macros serve their purpose, but if it can be done in code just as easily, there is no real reason to use a Macro. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Monday, February 22, 2010 8:42 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Using macros - good thing or bad? Was RE: OT search inname attachments in outlook2003 General question on macros: why have they fallen into disfavor? I had an opportunity to fill in as a teacher of an advanced Access course and a lot of the course was on macros which I never use. Got a legacy 2007 app to work with last month and it was full of macros. Macros: good or bad? TIA Rocky The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- 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 The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited.