Drew Wutka
DWUTKA at marlow.com
Wed Mar 12 16:29:00 CST 2003
ROTFLOL. The globals vanish when you hit an unhandled error in VB too. Actually, step back, they don't vanish when you hit an unhandled error, only if you click the END button. If you select Debug, then you just get ported to the appropriate place in your code....globals still intact. In VB the default behavior on an error is to just dump to the code(When running in debug mode...when running compiled, your entire app stops). The reason Access gives you a choice, is so that code problems don't delay data stuff. You could have a minor glitch in your code, but you are pulling data through a query. You want to pull all of the data, before getting to the code problem, so providing the 'end' option allows for that. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, March 12, 2003 1:43 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Using Global Connctions The globals vanish when you hit an unhandled error. Can you truly say you NEVER have any such errors in your apps? The environment in VB just seems to lead to fewer instances of that behavior. I still don't like globals. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Wednesday, March 12, 2003 11:40 AM To: Charlotte Foust Subject: Re: [AccessD] Using Global Connctions Oh no Charlotte, how can you do this? Not you. No more stories on those "vanishing" globals ... please. Or, are you asking the developer in-spe at the job interview: "Do you prefer to program in VB with its sturdy globals or in Access with the fragile globals of that environment?" - Would love to listen to the cryptic mumbling answer and watch the infidel flickering eyes of that poor guy m/f... /gustav > Globals work better in VB than in Access IMHO. .. _______________________________________________ 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