Delete / Insert / Update tables in an Access-Database

/ Published in: Visual Basic
Save to your folder(s)


Copy this code and paste it in your HTML
  1. Dim con
  2. Set con = CreateObject("ADODB.Connection")
  3. con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\test.mdb;"
  4. con.Execute "DROP TABLE Tabelle1" ' DROP / UPDATE / INSERT / etc.
  5. con.Close
  6. set con = nothing

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.