EmperorNeo Starting Member
32 Posts
Nikkol Forum Moderator
USA 6907 Posts
GauravBhabu Advanced Member
4288 Posts
quote:Originally posted by EmperorNeo<%set rsNewPoll = Server.CreateObject("ADODB.Recordset")rsNewPoll.ActiveConnection = MM_connPoll_STRINGrsNewPoll.Source = "SELECT * FROM " & strTablePrefix & "QUESTIONS INNER JOIN " & strTablePrefix & "ANSWERS ON " & strTablePrefix & "QUESTIONS.QUEST_ID = " & strTablePrefix & "ANSWERS.QUEST_ID WHERE QUEST_ACTIVE = 1 ORDER BY QUEST_DATED, " & strTablePrefix & "ANSWERS"rsNewPoll.CursorType = 0rsNewPoll.CursorLocation = 2rsNewPoll.LockType = 3rsNewPoll.Open()rsNewPoll_numRows = 0%>
ORDER BY QUEST_DATED, " & strTablePrefix & "ANSWERS.COLUMNNAME"