You don't see anything odd about this SQL Query?? You are not supplying a value for the first parameter of your where statment. (UID= )
Also this doesn't make sesne:
SQLString = "SELECT tblBoardInbox.BIReplies, tblBoardInbox.BIID, tblBoardInbox.BTID, tblBoardThreads.BTSubject, tblBoardThreads.BTDateTime, tblBoardThreads.BCID " & _
"FROM tblBoardInbox INNER JOIN tblBoardThreads ON tblBoardInbox.BTID = tblBoardThreads.BTID " & _
"WHERE (tblBoardInbox.UID = " & vUserID & ")" & _
vSQLString
You said that the result of Response.Write(vSQLString) yeilded:
;SELECT * FROM vw_classes_student WHERE (UID = ) AND (Status = 'Current') ORDER BY CourseTitle, ClassID
so the code above is going to evaluate to something like:
SQLString = "SELECT tblBoardInbox.BIReplies, tblBoardInbox.BIID, tblBoardInbox.BTID, tblBoardThreads.BTSubject, tblBoardThreads.BTDateTime, tblBoardThreads.BCID " & _
"FROM tblBoardInbox INNER JOIN tblBoardThreads ON tblBoardInbox.BTID = tblBoardThreads.BTID " & _
"WHERE (tblBoardInbox.UID = " & vUserID & ") ;SELECT * FROM vw_classes_student WHERE (UID = ) AND (Status = 'Current') ORDER BY CourseTitle"
This makes no sense?
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor :.
Wrox Books 24 x 7
================================================== =========