لدي مشكلة في هذا الكود ارجو منكم المساعدة
<%
strconnection="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Trim(Server.MapPath ("airlinesdb")) & "db1.mdb;Persist Security Info=False"
Public sub InsertDb(SQLCommand)
Set con = Server.CreateObject ("ADODB.connection")
con.open strconnection
con.Execute SQLCommand
con.Close
set con = nothing
end sub
if Request.Form("SAVEZ1")<>"" then SaveZ1
Public sub SaveZ1
PERMITNR = "('" & Request.Form("t1") & "',"
NAMECOM = "'" & Request.Form("t1") & "',"
MONTH2 = cint(Request.Form("t2")) & ","
DAY2 = cint(Request.Form("t3")) & ","
YEAR2 = cint(Request.Form("t4")) & ","
TYPETHE = "'" & Request.Form("t5") & "',"
REGAC = "'" & Request.Form("t6") & "',"
RAIDCS = "'" & Request.Form("t7") & "',"
ROUTING = "'" & Request.Form("t8") & "',"
PURPOSEFLT = "'" & Request.Form("t9") & "',"
ORDERTYPE = "'" & Request.Form("t11") & "',"
ENTRYPOINT = cint(Request.Form("t12")) & ","
ENTRYTIMING = "'" & Request.Form("t13") & "',"
NOTES = "'" & Request.Form("t15") & "')"
SQLCommand="INSERT INTO F1 ( PERMITNR, NAMECOM, MMONTH,DDAY,YYEAR, TYPETHE, REGAC, RAIDCS, ROUTING, PURPOSEFLT, ORDERTYPE, ENTRYPOINT, ENTRYTIMING, NOTES) VALUES "
SQLCommand=SQLCommand & PERMITNR & NAMECOM & MONTH2 & DAY2 & YEAR2 & TYPETHE & REGAC & RAIDCS & ROUTING & PURPOSEFLT & ORDERTYPE & ENTRYPOINT & ENTRYTIMING & NOTES
InsertDb(SQLCommand)
if Request.Form("R1")="V2" then
SQLCommand="INSERT INTO F2 ( PERMITNR, ETA, ETD) VALUES "
SQLCommand=SQLCommand & PERMITNR & ENTRYPOINT & ENTRYTIMING
InsertDb SQLCommand
end if
end sub
%>هذا له علاقة بمشروع تخرج وارجو الرد في اقرب وقت مازال لدي 5 ايام