| |
clarkp73
Posts: 1
Score: 0
Joined: 12/9/2003
From: United Kingdom
Status: offline
|
I have created a basic asp which looks at an access database all of which I have been able to achieve, I have just became unstuck when trying to call a procedure on the onclick of a button it tells me there is an "Error On Page". I have copied the code below, the button reference is at the bottom and the procedure is called TestSub(). Can anyone tell me what I'm doing wrong. <% Option Explicit %> <% Dim strConnect Dim objRS Dim objConn Dim strID Dim strTitle Set objConn = Server.CreateObject("ADODB.Connection") objConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\My Documents\Paisley\VideoShop\Video.mdb;" & "Persist Security Info=False" Set objRS = Server.CreateObject("ADODB.Recordset") Private Sub TestSub() Response.Write "Test" End Sub %>
|
|