<%
Dim Stt
Dim Action
Action=Ucase(request.form("Action"))
if Action="ADD" then
s1=trim(request.form("s1"))
s2=trim(request.form("s2"))
s3=trim(request.form("s3"))
s4=trim(request.form("s4"))
s5=trim(request.form("s5"))
s6=trim(request.form("s6"))
s7=trim(request.form("s7"))
s8=trim(request.form("s8"))
s9=trim(request.form("s9"))
s10=trim(request.form("s10"))
s11=trim(request.form("s11"))
s12=trim(request.form("s12"))
s13=trim(request.form("s13"))
s14=trim(request.form("s14"))
s15=trim(request.form("s15"))
s16=trim(request.form("s16"))
s17=trim(request.form("s17"))
s18=trim(request.form("s18"))
s19=trim(request.form("s19"))
s20=trim(request.form("s20"))
s21=trim(request.form("s21"))
TheDatabaseFile = "..\db\RAK.mdb"
set DB = server.createobject("adodb.connection")
DB.Open "DRIVER={Microsoft Access Driver (*.mdb)}; " & "DBQ=" & server.mappath ( TheDatabaseFile )
Sq="Insert into sys(s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18,s19,s20,s21) values( '" & s1 & "','" & s2 & "','" & s3 & "','" & s4 & "','" & s5 & "','" & s6 & "','" & s7 & "','" & s8 & "','" & s9 & "','" & s10 & "','" & s11 & "','" & s12 & "' ,'" & s13 & "' ,'" & s14 & "' ,'" & s15 & "' ,'" & s16 & "' ,'" & s17 & "' ,'" & s18 & "' ,'" & s19 & "' ,'" & s20 & "' ,'" & s21 & "' )"
set rs = DB.execute(Sq)
DB.close
set DB = nothing
end if
s1=""
s2=""
s3=""
s4=""
s5=""
s6=""
s7=""
s8=""
s9=""
s10=""
s11=""
s12=""
s13=""
s14=""
s15=""
s16=""
s17=""
s18=""
s19=""
s20=""
s21=""
%>