|
| |
|
|
aaronwiles
Posts: 200 Joined: 7/5/2004 From: Aaron Wiles Status: offline
|
Access/ASP, Join tables, error on Response.Write - 7/19/2004 13:40:09
HELP! I've unable to figure this out for almost two weeks . Basically I am developing a chat site for friends etc, & have never needed to join tables before & display the data. I have run this query in MS Access & it displays the data I expect it to, but when running it from & web page I am recieving the following error. I am recieving the error message: ADODB.Recordset (0x800A0CC1) Item cannot be found in the collection corresponding to the requested name or ordinal. /visitors.asp, line 65 The query seems to work ok but it's the displaying the data on the page that I am having problems with, the db field 'Profiles.NickName' is the correct spelling, anyone who could possibly tell me what I am doing wrong? I would be very gratful. '#DB connection <!--#include virtual="common/dbcon/members.asp"--> '#Open db connection call openCon() '#SQL Query Set rsMyChat = adoCon.Execute("SELECT Visitors.VisitorID, Visitors.ProfileID AS Visitors_ProfileID, Visitors.VisitDateTime, Profiles.ProfileID AS Profiles_ProfileID, Profiles.NickName, Profiles.Image1, Profiles.Gender FROM Profiles RIGHT JOIN Visitors ON Profiles.ProfileID = Visitors.ProfileID;") '#Line 65 Response.Write (rsMyChat("Profiles.NickName")) '#Close db connection Set rsMyChat = Nothing call closeCon()
|
|
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
|
|
|