| Sub ADOGetObjectOwner() Dim cat As New ADOX.Catalog ' Open the catalog cat.ActiveConnection = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=.\NorthWind.mdb;User Id=Admin;" & _ "Password=password;Jet OLEDB:System database=" & _ "C:\Program Files\Microsoft Office\Office\SYSTEM.MDW" ' Print the owner of the Customers table Debug.Print cat.GetObjectOwner("Customers", adPermObjTable) End Sub |
Table, Get Object Owner |
India web developer web development India | Freelance web development ecommerce web developer | Prayagasoft - web designer India, Ecommerce developer india, Ecommerce design