I don't believe "Not In" will work here
It can be something like this
strSQL = strSQL + "WHERE (((tblQ.[Q No]) <> ([tblAQ].[Q No]))
If you want to use a subquery,
"WHERE Not In (Select col1, col2,,, from table where id = id)
Check or refer to the correct syntax at Allen Browne's site.
And...