What's wrong with my SQL here?
I want to retrieve a specific (pre-known) post from the WWF7 db.
strSQL = "SELECT TOP 1 Thread_ID, Topic_ID, Message, Message_date FROM "
strSQL = strSQL & "tblThread WHERE "
strSQL = strSQL & "Topic_ID = 128 "
strSQL = strSQL & "Thread_ID = 391"
strSQL = strSQL & " ORDER BY Message_date DESC"
Set rsThreads = connectForum.Execute(strSQL)
I always get the same (wrong) post from Topic_ID = 128, namely the last one posted. Even if I change the last SQL-line to ORDER BY Message_date ASC the result is the same.
I'd really appriciate any suggestions!
Chris