Jim Dettman
jimdettman at verizon.net
Tue Sep 20 11:26:36 CDT 2011
Mark, You should have quoted the second paragraph as well: "This narrow-minded attitude of mine can create difficulties when trying to share data between forms in a single application." He goes on to say there are lot's of solutions to that problem (which is true), but that doesn't apply that global's should not be used or do not have a place in Access development. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Tuesday, September 20, 2011 11:46 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Global Vars (was Ambiguous Name) Au Contraire....use sparingly at best: www.vb123.com/smart/fp/1998-05.pdf "they dramatically increase the costs of maintaining an application. After all, when you find a bad value in a global variable, that value could have been placed in the variable from any routine in the application. Thats a lot of code to debug" > > Nothing wrong with global variables. > Trouble is always located at those handling these (the programmer!). > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com