JohnBoy2005
Programmer
I'm using an INNER JOIN Query to populate a recordset.
"SELECT tblMessages.*, tblMessagesLink.* FROM tblMessages INNER JOIN tblMessagesLink ON tblMessages.MID = tblMessagesLink.MID WHERE tblMessages.MID = '" & strMsgID & "' AND tblMessagesLink.User_ID = " & intUID"
User_ID is common in both tables, how do I reference them
In VB6 I would use rstTemp("tblMessages.User_ID") or rstTemp("tblMessagesLink.User_ID") and get the correct data.
I try this method in ASP and I get errors.
Cheers
John
"SELECT tblMessages.*, tblMessagesLink.* FROM tblMessages INNER JOIN tblMessagesLink ON tblMessages.MID = tblMessagesLink.MID WHERE tblMessages.MID = '" & strMsgID & "' AND tblMessagesLink.User_ID = " & intUID"
User_ID is common in both tables, how do I reference them
In VB6 I would use rstTemp("tblMessages.User_ID") or rstTemp("tblMessagesLink.User_ID") and get the correct data.
I try this method in ASP and I get errors.
Cheers
John