inicio mail me! sindicaci;ón

ASP skill: Name a watch again in Access database

Code is the code of give typical examples that names Access watch name again with Adox below:

It is quotative content below:

Dim Conn, connStr, OCat, OTbl
ConnStr = “Provider=Microsoft.Jet.OLEDB.4.0;Data Source= “&Server.MapPath(”data.mdb” )
Set OCat=Server.CreateObject(”ADOX.Catalog” )OCat.ActiveConnection = ConnStr

Set OTbl = Server.CreateObject(”ADOX.Table” )
Set OTbl = OCat.Tables(”OldTable” ) ‘ should weigh named watch name: OldTableOTbl.Name = “NewTable” ‘ expresses a name newly
Set OCat = Nothing
Set OTbl = Nothing

Bookmark:Digg Del.icio.us Reddit

Leave a Comment