Question : How to sort out users who haven't submitted reports last month?

I'm using MS Access Database and Classic ASP. In one column I have my users: User1, User2, User3, etc. They are all supposed to submit reports every month. I would like to display the names of the users who haven't submitted their reports yet. My SQL WHERE clause is this now:

WHERE MonthOfReport LIKE '%" & MonthName(month(now)-1) & "%' AND YearOfReport like '%" & year(DATEADD("m", -1, now))& "%'

This gives me last month's submissions. The column where my users are listed is named UsersColumn. How could I write my SQL so that on my ASP page I can display something like this:
The following users haven't submitted their reports last month: User3, User6, User8.
Thank you for your help.

Answer : How to sort out users who haven't submitted reports last month?

you can do something like follows:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
<%
set conn=Server.CreateObject("ADODB.Connection")
conn.Open(Server.Mappath("yourdb.mdb"))
set rs = Server.CreateObject("ADODB.recordset")
rs.Open "Select UsersColumn from Customers WHERE MonthOfReport LIKE '%" & MonthName(month(now)-1) & "%' AND YearOfReport like '%" & year(DATEADD("m", -1, now))& "%'", conn

Dim Msg

do until rs.EOF
    Msg = Msg & rs("UsersColumn")
    rs.MoveNext
loop
rs.close
conn.close
response.write "The following users haven't submitted their reports last month: " & Msg
%>
Random Solutions  
 
programming4us programming4us