-
demo fails
I am using the code in example B1 on
http://www.aspdbtest.com/examples/basic/aspdbexb01.asp
I am getting this error. This is my first attempt at using ASP-DB.
ASP error '800a005b'
Object variable or With block variable not set
/report.asp, line 20
Here is my code:
<%
Set MyDb=Server.CreateObject("ASP.db") ' Create the ASP-db object
MyDb.dbQuickProps="1;Pubs;*;grid;4,auto,lightgrey" ' Set its std properties
Mydb.dbDSN = "DSN=appointments;UID=xx;PWD=xx;"
MyDb.dbDBType = "ACCESS"
MyDb.dbSQL = "*" 'Put in your own SQL here
MyDb.ASPdb ' Display it!
%>
Last edited by richb2; 09-15-2003 at 12:04 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|