Ok HuwR, I don't understand this.
In some of the SQL statements in the forum files, T_MESSAGE isn't the last one in the SELECT statement, but yet it runs fine. Why does it throw an error now, when adding more fields to the SELECT statement?
Ok, bellan. Don't do what I asked you to do before. On HuwR's suggestion you're gonna edit your default.asp file. Look for the '########### Poll Mod ############# code. In the first SQL statement right after this line: '## Forum_SQL - Get Poll change it to this:strSql = "SELECT " & strTablePrefix & "TOPICS.TOPIC_ID, " &
strTablePrefix & "TOPICS.FORUM_ID, " &
strTablePrefix & "TOPICS.CAT_ID, " &
strTablePrefix & "TOPICS.T_SUBJECT, " &
strTablePrefix & "TOPICS.answer1, " &
strTablePrefix & "TOPICS.count1, " &
strTablePrefix & "TOPICS.answer2, " &
strTablePrefix & "TOPICS.count2, " &
strTablePrefix & "TOPICS.answer3, " &
strTablePrefix & "TOPICS.count3, " &
strTablePrefix & "TOPICS.answer4, " &
strTablePrefix & "TOPICS.count4, " &
strTablePrefix & "TOPICS.answer5, " &
strTablePrefix & "TOPICS.count5, " &
strTablePrefix & "TOPICS.answer6, " &
strTablePrefix & "TOPICS.count6, " &
strTablePrefix & "TOPICS.answer7, " &
strTablePrefix & "TOPICS.count7, " &
strTablePrefix & "TOPICS.answer8, " &
strTablePrefix & "TOPICS.count8, " &
strTablePrefix & "FORUM.F_SUBJECT, " &
strTablePrefix & "CONFIG.C_ACTIVEPOLL, " &
strTablePrefix & "TOPICS.T_MESSAGE "
The code should be all on one line. I broke it up so the page wouldn't scroll. Let me know if it works.
Edited by - Davio on 24 April 2001 11:46:36