Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Manipulate external Access97 databases 1

Status
Not open for further replies.

Klopper

MIS
Dec 7, 2000
84
US
From a given Access97 database, what is the best way to check and / or change the properties of tables and queries in OTHER access databases? Specifically tables and pass through queries with Sybase ODBC links.

I have been playing with workspaces and opening databases but without much success - am I barking up the proverbial?

Thanks,
Klopper





 
Dim dbs as database
Dim tdf as tabledef
Set dbs=opendatabase("YourExternalDBName")
Set tdf = dbs.tabledefs("YourTable")
With tdf
.name = "Something"
.connection = "something else"
'Etc
End with
Set tdf = nothing
Set dbs = nothing Tyrone Lumley
augerinn@gte.net
 
Thanks Tyrone, this is the answer I am looking for.

Klopper

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top