Jim Lawrence
accessd at shaw.ca
Tue Sep 20 13:25:00 CDT 2011
Hi Steve: Just a note: As soon as you step in the internet world these standards are broken again. Apache uses .htaccess and IIS uses web.config to hold their universal settings, variable and objects which not only affords consolidation but a level of security, as these files can be stored outside the access area of anyone but the system admin. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Goodhall Sent: Tuesday, September 20, 2011 9:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ambiguous Name I can't agree. Global variables break the whole model of structured programming. In many ways they are worse than goto statements. Sent from my Verizon Wireless Phone -----Original message----- From: Gustav Brock <Gustav at cactus.dk> To: accessd at databaseadvisors.com Sent: Tue, Sep 20, 2011 14:51:24 GMT+00:00 Subject: Re: [AccessD] Ambiguous Name Hi Steve Nothing wrong with global variables. Trouble is always located at those handling these (the programmer!). /gustav >>> steve at goodhall.info 20-09-2011 01:33:24 >>> Yet another reason to never use global variables. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ralf Lister Sent: Monday, September 19, 2011 5:19 PM To: accessd at databaseadvisors.com Subject: [AccessD] Ambiguous Name Hello all, I work with Access 2007. Lately I ran into a problem I don't know how to solve: By running the code I got an error message "Ambiguous Name was detected: gsngAportesSR" ("Se ha detectado un nombre ambiguo: gsngAportesSR"). I searched the whole code looking for gsngAportes defined by two different data types (e.g. Public gsngAportesSR As Single, and then also Public gsngAportesSR As Integer), but without success. Does anyone of you know how to fix this problem? I should say that gsngAportesSR is a global variable with data type Single. Thanks and Saludos Ralf Lister La Paz, Bolivia -- 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