csiwa28
Programmer
- Apr 12, 2001
- 177
I am getting
Microsoft VBScript runtime error '800a01a8'
Object required: ''
and this is happening on the last line. I don't have option explicit, so I know I don't have to worry about defining variables.
Set oConn = Server.CreateObject("ADODB.Connection"
MdbFilePath = Server.MapPath("\amca\products\AMCA.mdb"
oConn.Open "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & MdbFilePath & ";"
SQL_query = "SELECT crpProductType_Name FROM crpProductTypes"
Set oRS = MyConn.Execute(SQL_query)
Microsoft VBScript runtime error '800a01a8'
Object required: ''
and this is happening on the last line. I don't have option explicit, so I know I don't have to worry about defining variables.
Set oConn = Server.CreateObject("ADODB.Connection"
MdbFilePath = Server.MapPath("\amca\products\AMCA.mdb"
oConn.Open "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & MdbFilePath & ";"
SQL_query = "SELECT crpProductType_Name FROM crpProductTypes"
Set oRS = MyConn.Execute(SQL_query)