Mark A Matte
markamatte at hotmail.com
Tue Sep 7 14:40:54 CDT 2010
Apparently Lambert can type faster than I can copy/paste... > From: Lambert.Heenan at chartisinsurance.com > To: accessd at databaseadvisors.com > Date: Tue, 7 Sep 2010 14:22:03 -0400 > Subject: Re: [AccessD] Access version > > It's long and complicated, so fasten your seat belt... > > syscmd(acSysCmdAccessVer) > > Lambert :-) > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, September 07, 2010 2:03 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access version > > Access 97 and Access 2K have "issues" with using event handling in classes, in particular with storing a pointer to the form in the class and then closing the form without first intentionally closing the class. These issues were fixed in Access 2002 and above. > > As a result of these issues, I need to force the form close to go through a button where I can insert cleanup code, thus I need to make sure the AllowClose button is not enabled in these environments. > > I have never used code that figures out the version. Does anyone have such code? > > -- > John W. Colby > www.ColbyConsulting.com > -- > 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