| |
Country73
Posts: 732
Score: 10
Joined: 8/25/2004
From: USA
Status: offline
|
This should get you started on "Updating" in SQL; just replace the items in bold red type to your information. DIM cnt SET cnt = CREATEOBJECT("ADODB.Connection") cnt.Provider = "SQLOLEDB" cnt.ConnectionString= "Driver={SQL Server};Server=(local);Database=Apex_db;UID=sa;PWD=" cnt.Open sql = "UPDATE <Table> SET " sql = sql & "<Column1 Name>='" & Column1.value & "'," sql = sql & "<Column2 Name>='" & Column2.value & "'," sql = sql & "<Column3 Name>='" & Column3.value & "'" cnt.Execute sql cnt.Close
|
|