Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!nuzba.szn.dk!pnx.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: R C Nesbit Newsgroups: comp.lang.basic.visual.misc Subject: Re: Getting inside an .accdb file Date: Sun, 20 Nov 2011 12:30:48 -0000 Organization: SpamTrap Lines: 18 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: individual.net o3nUsI9llZoq+vFwkQ0DPQpWHCNINYLHykKopHdjcwGF1N5pFC Cancel-Lock: sha1:N46gNH62V/Z0eeNFenMmsjmrSfk= X-Newsreader: Virtual Access Open Source http://www.virtual-access.org/ Xref: x330-a1.tempe.blueboxinc.net comp.lang.basic.visual.misc:527 Jason Keats spoke: > > Ahh, then you want to go through the tabledefs collection using VBA > > code. But in your other reply I see that a viewer is sufficient for > > your needs. > > The following line is the solution to the problem: > > Set rst = cnn.OpenSchema(adSchemaTables) > > where cnn is your connection object, and rst is an ADODB.Recordset. That's the puppy! thanks. -- Rob Pearson