|
-
June 3rd, 1999, 12:23 PM
#1
How to get tables names from mdb database using ADO
Does anyone know how to get the tables names from
a mdb database using ADO (at runtime).
I am using visual c++ 6 sp3
Thank you
Oscar
-
June 7th, 1999, 07:40 AM
#2
Re: How to get tables names from mdb database using ADO
From memory it goes something like this
// Assuming ADO 1.5 or greater
IADOConnection conn
conn->OpenSchema (adSchemaTables, nullVariant, nullVariant, &pIADORecordset)
I can't remember the exact usage of the second and third arguments, but they are usually set to null variants (or maybe error) for this type of query.
Hope this helps somewhat.
Regards,
Peter
-
June 22nd, 1999, 03:13 PM
#3
Re: How to get tables names from mdb database using ADO
Thank you very much!
It works great!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|