Pedro Janssen
pedro at plex.nl
Mon Jun 13 07:39:33 CDT 2005
Hello Mark, if you mean; when the strTableName is empty, it gives an error, can't fnd table. Otherwise i don't know what you mean. Pedro Janssen ----- Original Message ----- From: "MarkH" <lists at theopg.com> To: "'Access Developers discussion and problem solving'" <accessd at databaseadvisors.com> Sent: Monday, June 13, 2005 1:19 AM Subject: RE: [AccessD] invalid number of arguments > Have you checked strTableName is <>"" > > Mark > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: 13 June 2005 00:13 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] invalid number of arguments > > > ----- Original Message ----- > From: "Pedro Janssen" <pedro at plex.nl> > To: <AccessD at databaseadvisors.com> > Sent: Sunday, June 12, 2005 5:50 PM > Subject: [AccessD] invalid number of arguments > > > Hello Group, > > i am using a function that Neil Kling provided me in the past. When > running it from an expression i get an error: > > Invalid number of arguments. > > Who can help me with this > > ------ > > Pedro, > > It should be > > db.TableDefs(strTableName).Delete > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > Internal Virus Database is out-of-date. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 267.6.4 - Release Date: 06/06/2005 > > > -- > Internal Virus Database is out-of-date. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 267.6.4 - Release Date: 06/06/2005 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com >