P
Perry
I have used the following code to insert record from my web page into the
access2000's table, but since I switch to Access 2003 these code does not
work,
can any one please help me out?!
Set oConn = Server.CreateObject("ADODB.connection")
oConn.Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" &
Server.MapPath("onlineshop.mdb"))
sql2 = "insert into M ([MID], [MKind], [Surname],
[FirstName],[Gender],,[Address1],[Address2],[Address3],[PostCode],[Country],[TelNo],[Password1])
values ('" & UCase(MID) &"','"& MKind &"','" & Surname & "', '" & FirstName &
"', '" & Gender &"','" & Email &"','" & Address1 &"','" & Address2 &"','" &
Address3 &"','" & PostCode &"','" & Country &"','" & TelNo &"','" & Password
&"')"
oConn.Execute sql2
thankyou very much for you help
access2000's table, but since I switch to Access 2003 these code does not
work,
can any one please help me out?!
Set oConn = Server.CreateObject("ADODB.connection")
oConn.Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" &
Server.MapPath("onlineshop.mdb"))
sql2 = "insert into M ([MID], [MKind], [Surname],
[FirstName],[Gender],,[Address1],[Address2],[Address3],[PostCode],[Country],[TelNo],[Password1])
values ('" & UCase(MID) &"','"& MKind &"','" & Surname & "', '" & FirstName &
"', '" & Gender &"','" & Email &"','" & Address1 &"','" & Address2 &"','" &
Address3 &"','" & PostCode &"','" & Country &"','" & TelNo &"','" & Password
&"')"
oConn.Execute sql2
thankyou very much for you help