csiwa28
Programmer
- Apr 12, 2001
- 177
If I connect to a database like so.......
Set oConn = Server.CreateObject("ADODB.Connection"
MdbFilePath = Server.MapPath("AMCA.mdb"
oConn.Open "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & MdbFilePath & ";"
SQL_query = "SELECT * FROM ProductTypes"
Set oRS = oConn.Execute(SQL_query)
do I still need to include commands found in the adovbs.inc like adLockReadOnly, adCmdTable if I want to Delete, Update, or Insert?
Set oConn = Server.CreateObject("ADODB.Connection"
MdbFilePath = Server.MapPath("AMCA.mdb"
oConn.Open "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & MdbFilePath & ";"
SQL_query = "SELECT * FROM ProductTypes"
Set oRS = oConn.Execute(SQL_query)
do I still need to include commands found in the adovbs.inc like adLockReadOnly, adCmdTable if I want to Delete, Update, or Insert?