Drew Wutka
DWUTKA at Marlow.com
Tue Mar 11 12:43:32 CDT 2008
That's odd, I wrote it with Access 2003...compiles fine on my end. Is ADO set as a reference? Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Tuesday, March 11, 2008 12:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Record Count for all tables For some odd reason, Access 2003 doesn't like this: <code> Set rsTables = CurrentProject.Connection.OpenSchema(adSchemaTables) </code> What's strange is that Intellisense likes it fine, but the compiler bitches about it. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited.