I having this issue when i use an innerjoin in the cfquery tag. I am trying to join my two tables on a certain id then when all is said and done i need to spit out the ID to the page. My query is
<cfquery name="getQuestion" datasource="DATES">
SELECT question.questionID, question.quizID, quiz.quizID, quiz.quizName From question
INNER JOIN quiz ON question.quizID = quiz.quizID
WHERE quizName = '#qName#'
</cfquery>
I tested the query in access and it works fine i just cant get it to let me print the iD it keeps telling me its undefined. Anyone know why this is?
<cfquery name="getQuestion" datasource="DATES">
SELECT question.questionID, question.quizID, quiz.quizID, quiz.quizName From question
INNER JOIN quiz ON question.quizID = quiz.quizID
WHERE quizName = '#qName#'
</cfquery>
I tested the query in access and it works fine i just cant get it to let me print the iD it keeps telling me its undefined. Anyone know why this is?