navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Wrong results displayed

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Microsoft FrontPage Help >> Wrong results displayed
Page: [1]
 
SpecialBlend

 

Posts: 15
Joined: 4/14/2002
From:
Status: offline

 
Wrong results displayed - 4/21/2002 18:07:24   
Don't remember if I posted this already or not, but I've setup my database, and I've linked it to my pages. Only problem is it doesn't seem to be going to the database that I linked.

For instance one of my tables in my database has 11 entries in it, but the page that the database is linked to shows 22 entries, all of them different. Here's the code

<%'Setup the record set
Set DataConn = Server.CreateObject("ADODB.Connection")
DataConn.ConnectionTimeout = Application("DataConn_ConnectionTimeout")
DataConn.CommandTimeout = Application("DataConn_CommandTimeout")
DataConn.Open Application("DataConn_ConnectionString"), Application("DataConn_RuntimeUserName"), Application("DataConn_RuntimePassword")

Set cmdTemp = Server.CreateObject("ADODB.Command")
Set rs = Server.CreateObject("ADODB.Recordset")
cmdTemp.CommandText = "Select * from DamageCar"
cmdTemp.CommandType = 1
Set cmdTemp.ActiveConnection = DataConn
rs.Open cmdTemp, , 1, 3


%>


Spooky

 

Posts: 26597
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Wrong results displayed - 4/21/2002 21:15:39   
Are there actually 2 databases or tables that information can be gained from?

§þððk¥
Database / DRW Q & A
VP-ASP Shopping cart
Spooky Login

(in reply to SpecialBlend)
SpecialBlend

 

Posts: 15
Joined: 4/14/2002
From:
Status: offline

 
RE: Wrong results displayed - 4/21/2002 22:17:38   
No, each table/database has it's own unique name in which the asp takes the results from

What I just tried is in one of the tables I added another result in to see if it was actually the database and not Frontpage. Needless to say the result I just added in didn't appear. So it seems that Frontpage is taking it from a different place rather than the database I linked it to


(in reply to SpecialBlend)
Page:   [1]

All Forums >> Web Development >> Microsoft FrontPage Help >> Wrong results displayed
Page: [1]
Jump to: 1





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