-
DB not showing
I have the following code created which should display a database of events when displayed, but whenever I bring the page up, nothing at all is displayed. I don't know what's wrong...
Any ideas? This is on an NT Server.
Here's the code:
<%
Set MyDb = Server.CreateObject("ASPdb.pro"
MyDb.dbmdb=Server.MapPath("../fpdb/01sched.mdb"
MyDb.dbUnit = 1
MyDb.dbColor = "#FFFFFF, Auto, lightblue"
MyDb.dbImageDir="../asp/aspimg/"
MyDb.dbGridInc = 10
MyDb.dbGridTableTag = "border=3 cellspacing=3 cellpadding=3"
MyDb.dbGridDisplayFlds = "EventDate,Event Name,Location,City,State/Province,TD's Name,TD's Phone"
MyDb.dbMode = "Both"
MyDb.dbFormDisplayFlds = "EventDate,Event Name,Location,City,State/Province,TD's Name,TD's Phone,Days,PDGA Tier,Series,Register"
MyDb.dbFilterHideFlds = "ID, URL, Lurl, Comments"
MyDb.dbOptions = "HeaderFontTag=Face=Arial Size=3,CellFontTag=Face=Verdana Size=2,DateWrap=#,DateFormat=mmm/dd/yyyy,AutoCleanUp=True"
MyDb.dbSQL = "Select * from [2002] ORDER BY EventDate"
MyDb.dbNavigation="both"
MyDb.dbNavigationItem="top,bottom,next,prev,gr idrow,filter,download"
MyDb.dbNavigationIcon="std"
MyDb.dbMemoTextSize = 0
MyDb.dbFormMemo="5x50,comments"
MyDb.dbMagicCell = "TD's Name,,<A HREF=""mailto:#E-Mail#"">#TD's Name#;Event Name,,<A HREF=#URL#>#Event Name#</A>;Location,,<A HREF=#Lurl#>#Location#</A>;Register,,<A HREF=#Active#>#Register#</A>"
Mydb.dbEditParams="TableName=2002,BookMarkFlds =ID,TableTag=Border=2,RecordScope=single,CriteriaS ize=4x25"
MyDb.ASPdbpro
%>
************************************************** **************************
Any help at all is appreciated!
Thanks,
--Bart Snell
-
DB not showing (reply)
1. Try to update your veryold version of ASP-db.
2. Cannot see how it break with your own code.
3. Reproduce the problem with Northwind and re-post the code.
4. Send in a small version of your .mdb file 5 records so we can take a quick lookfor you. (do this only if you have a maintenance contract)
FK
------------
B. Snell at 12/31/2001 10:39:50 AM
I have the following code created which should display a database of events when displayed, but whenever I bring the page up, nothing at all is displayed. I don't know what's wrong...
Any ideas? This is on an NT Server.
Here's the code:
<%
Set MyDb = Server.CreateObject("ASPdb.pro"
MyDb.dbmdb=Server.MapPath("../fpdb/01sched.mdb"
MyDb.dbUnit = 1
MyDb.dbColor = "#FFFFFF, Auto, lightblue"
MyDb.dbImageDir="../asp/aspimg/"
MyDb.dbGridInc = 10
MyDb.dbGridTableTag = "border=3 cellspacing=3 cellpadding=3"
MyDb.dbGridDisplayFlds = "EventDate,Event Name,Location,City,State/Province,TD's Name,TD's Phone"
MyDb.dbMode = "Both"
MyDb.dbFormDisplayFlds = "EventDate,Event Name,Location,City,State/Province,TD's Name,TD's Phone,Days,PDGA Tier,Series,Register"
MyDb.dbFilterHideFlds = "ID, URL, Lurl, Comments"
MyDb.dbOptions = "HeaderFontTag=Face=Arial Size=3,CellFontTag=Face=Verdana Size=2,DateWrap=#,DateFormat=mmm/dd/yyyy,AutoCleanUp=True"
MyDb.dbSQL = "Select * from [2002] ORDER BY EventDate"
MyDb.dbNavigation="both"
MyDb.dbNavigationItem="top,bottom,next,prev,gr idrow,filter,download"
MyDb.dbNavigationIcon="std"
MyDb.dbMemoTextSize = 0
MyDb.dbFormMemo="5x50,comments"
MyDb.dbMagicCell = "TD's Name,,<A HREF=""mailto:#E-Mail#"">#TD's Name#;Event Name,,<A HREF=#URL#>#Event Name#</A>;Location,,<A HREF=#Lurl#>#Location#</A>;Register,,<A HREF=#Active#>#Register#</A>"
Mydb.dbEditParams="TableName=2002,BookMarkFlds =ID,TableTag=Border=2,RecordScope=single,CriteriaS ize=4x25"
MyDb.ASPdbpro
%>
************************************************** **************************
Any help at all is appreciated!
Thanks,
--Bart Snell
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
|
|