ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Fetch list of table names in access to a record set (https://www.excelbanter.com/excel-programming/328871-fetch-list-table-names-access-record-set.html)

Prashantha Weerakoon

Fetch list of table names in access to a record set
 
Hello all

What is the sql query that fetches all the table names that exist in the
access database...

i need to fetch this to a record set and i am uisng java with odbc to access
ms access?


/thanks in advance
PRash



keepITcool

Fetch list of table names in access to a record set
 
try:

Set oRst = oCon.OpenSchema(20) 'adSchemaTables



--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Prashantha Weerakoon wrote :

Hello all

What is the sql query that fetches all the table names that exist in
the access database...

i need to fetch this to a record set and i am uisng java with odbc to
access ms access?


/thanks in advance
PRash



All times are GMT +1. The time now is 11:07 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com