Charlotte Foust
cfoust at infostatsystems.com
Wed Mar 18 10:32:51 CDT 2009
There's a reason to use Me if you prefer to find you errors before the app gets out the door. When you don't use Me the compiler has to guess at what kind of pointer you're using and if you've forgotten to turn on Option Explicit, Access will interpret the object as being a variable declared on the fly rather than an object or property of the container object. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, March 18, 2009 8:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] To Me or not to Me - That's my Question! Sometimes I see code written where each control is prefixed with Me., and sometimes not. I don't use Me in this way, but I wonder if there is a reason to do so other than just being explicit. Does using Me work better behind the scenes in some way? Thanks! Dan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com