<cfquery datasource="offdarock" name="qViewThreads" dbtype="oledb">
SELECT name, email, date, subject, messageId, updated
FROM forums
ORDER BY updated desc
</cfquery>
<cfquery datasource="offdarock" name="qViewThreadsResponse" dbtype="oledb">
SELECT threadId
FROM forumsResponse
WHERE threadId = messageId
</cfquery>
this is the line I am having trouble with
WHERE threadId = messageId
the messageId is from the first Query...how do I compare them
Craig
SELECT name, email, date, subject, messageId, updated
FROM forums
ORDER BY updated desc
</cfquery>
<cfquery datasource="offdarock" name="qViewThreadsResponse" dbtype="oledb">
SELECT threadId
FROM forumsResponse
WHERE threadId = messageId
</cfquery>
this is the line I am having trouble with
WHERE threadId = messageId
the messageId is from the first Query...how do I compare them
Craig