M
Markus
Hallo i hope some one can help me i would like to update a db when clicking
on a button if some one can look over my code that would be a greate help.
function Update() {
Dim rs, strPfadDB, sSQL
strPfadDB = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _
Server.MapPath("\fpdb\request_table.mdb") & _
";Mode=ReadWrite;Persist Security Info=False"
sSQL "insert into Audit (Requesd_ID, CDS_ID) values ('2000', 'mm')"
set rs = Server.CreateObject("ADODB.Recordset")
rs.Execute sSQL, strPfadDB, 1, 2
rs.Close
set rs = nothing
}
on a button if some one can look over my code that would be a greate help.
function Update() {
Dim rs, strPfadDB, sSQL
strPfadDB = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _
Server.MapPath("\fpdb\request_table.mdb") & _
";Mode=ReadWrite;Persist Security Info=False"
sSQL "insert into Audit (Requesd_ID, CDS_ID) values ('2000', 'mm')"
set rs = Server.CreateObject("ADODB.Recordset")
rs.Execute sSQL, strPfadDB, 1, 2
rs.Close
set rs = nothing
}