Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


OnClick Events

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,930
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> OnClick Events
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 OnClick Events - 12/9/2003 1:46:27 AM   
  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
%>





Header Details





Member 




Date






Booking Details




Video     
Genre Filter


Hire Days

Hire Rate








 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> OnClick Events Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts