connection.OpenSchema

  • Thread starter Thread starter abcd
  • Start date Start date
A

abcd

I have a small VB code which retrives the table names from the access DSN.

my code is something like this

Set objRs = objConn.OpenSchema(adSchemaTables)

If objRs("TABLE_TYPE") = "TABLE" or objRs("TABLE_TYPE") = "TABLE" Then
'do something
end if

I want to retrieve all the queries from theaccess DSN, whats the proper
schemaEnum for this...

thanks in advance
 
abcd said:
I have a small VB code which retrives the table names from the
access DSN.

my code is something like this

Set objRs = objConn.OpenSchema(adSchemaTables)

If objRs("TABLE_TYPE") = "TABLE" or objRs("TABLE_TYPE") = "TABLE"
Then 'do something
end if

I want to retrieve all the queries from theaccess DSN, whats the
proper schemaEnum for this...


Have a look at the language independent ADO.Net group:
microsoft.public.dotnet.framework.adonet


This is a VB.Net group. As you wrote "Set", you're probably using VB6. VB6
groups can be found @ microsoft.public.vb.*


Armin
 
ooops accidently I posted here ...my apology...

Armin Zingler said:
Have a look at the language independent ADO.Net group:
microsoft.public.dotnet.framework.adonet


This is a VB.Net group. As you wrote "Set", you're probably using VB6. VB6
groups can be found @ microsoft.public.vb.*


Armin
 
Armin,
Have a look at the language independent ADO.Net group:
microsoft.public.dotnet.framework.adonet
Are you sure of that, I have the idea that it is not ADONET however ADO

probably
microsoft.public.dotnet.languages.vb.data

is than in my opinion a better newsgroup
(Most questions are answered in that newsgroup, this message is of course as
well for the OP)

:-))

Cor
 
Cor Ligthert said:
Armin,
Are you sure of that, I have the idea that it is not ADONET however
ADO

probably
microsoft.public.dotnet.languages.vb.data

is than in my opinion a better newsgroup
(Most questions are answered in that newsgroup, this message is of
course as well for the OP)

:-))

"As you wrote "Set", you're probably using VB6. VB6 groups can be found @
microsoft.public.vb.*"


Armin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top