![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi! How can i get the name of all obejcts (queries, tables) in an existing Access-Connection and their structure (for tables the fiieldnames and datatypes, for queries the SQL-statement). I want to do this via ActiveX-Script. Thanks! greets chris |
#3
| |||
| |||
|
|
Hi! How can i get the name of all obejcts (queries, tables) in an existing Access-Connection and their structure (for tables the fiieldnames and datatypes, for queries the SQL-statement). I want to do this via ActiveX-Script. Thanks! greets chris |
#4
| |||
| |||
|
|
You can do this with ADOX. Try something like- Dim oCatalog Set oCatalog = CreateObject("ADOX.Catalog") For Each oTable In oCatalog.Tables oTable.. Next -- Darren Green http://www.sqldts.com "Christian Weber" <christian.weber (AT) siemens (DOT) com> wrote in message news:bh84mm$bbe$1 (AT) news (DOT) mch.sbs.de... Hi! How can i get the name of all obejcts (queries, tables) in an existing Access-Connection and their structure (for tables the fiieldnames and datatypes, for queries the SQL-statement). I want to do this via ActiveX-Script. Thanks! greets chris |
#5
| |||
| |||
|
|
Thanks! How do i assign the "CreateObject("ADOX.Catalog")" to the connection? greets chris |
#6
| |||
| |||
|
|
Hi! I get the error: "Method Open not supported." I just cant go on at this point, im just a newbie to ADO. greets chris |
![]() |
| Thread Tools | |
| Display Modes | |
| |