Drew Wutka
DWUTKA at Marlow.com
Mon Feb 19 11:14:03 CST 2007
As long as VB keeps realizing that 'strTemp' and 'strtemp' are the SAME variable, I'm happy.... ;) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, February 16, 2007 6:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Missing references On 16 Feb 2007 at 10:39, JWColby wrote: > Actually dimensioning a variable of any kind down in the middle of code is > considered bad practice anyway. It used to be. There seems to be a growing trend towards "decentralisation" rather than "consolidation" of declarations. Now we have "Block Scoped variables" in VB.Net which *have* to be declared in the middle of code and many MS code examples now declare all variables immediately before first use. Anyone for another round of Bound/Unbound or Surrogate/Natural et al which we're at it? :-) -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com