Can anyone tell me what is wrong with the following lines?
I keep getting an error in the line defining sDBName that states "Variable is undefined: 'Server'" when I try to launch the page. I'm new at ASP programming, so please have patience with these basic questions.
Thanks.
Code:
<script LANGUAGE = "VBScript">
Option Explicit
Dim objDB
Dim objRS
Dim sDBName
Dim sAction
Dim sRowColor
Dim html
Dim sql
Dim sError
sDBName = "driver={Microsoft Access Driver (*.mdb)};dbq=F:\catalog.mdb"
Set objDB = Server.CreateObject("ADODB.Connection")
objDB.Open sDBName
.
.
.
</script>
I keep getting an error in the line defining sDBName that states "Variable is undefined: 'Server'" when I try to launch the page. I'm new at ASP programming, so please have patience with these basic questions.
Thanks.