MarkH
lists at theopg.com
Sun Jun 12 18:19:13 CDT 2005
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