$sSql1 = "SELECT Mid([BOOK_ID],5,4) AS YearMonth, Count(EXPORT.BOOK_ID) AS [c_allBookPerMonth]
FROM EXPORT
WHERE (EXPORT.BOOK_ID)<>''
GROUP BY Mid([BOOK_ID],5,4);";
$sSql2 = "SELECT Mid([BOOK_ID],5,4) AS YearMonth, Count(EXPORT.BOOK_ID) AS [c_BookAsDontSendToCTL]
FROM EXPORT
WHERE (((EXPORT.SEND_CTL_DATE) Is Null) and (EXPORT.BOOK_ID)<>'')
GROUP BY Mid([BOOK_ID],5,4);";
$sSql3 = "SELECT Mid([BOOK_ID],5,4) AS YearMonth, Count(EXPORT.BOOK_ID) AS [c_BookSentToCTLandRecieved]
FROM EXPORT
WHERE (((EXPORT.SEND_CTL_DATE) Is Not Null) AND ((EXPORT.CTL_ID)<>'') and (EXPORT.BOOK_ID)<>'')
GROUP BY Mid([BOOK_ID],5,4);";
$sSql4 = "SELECT Mid([BOOK_ID],5,4) AS YearMonth, Count(EXPORT.BOOK_ID) AS [c_BookSentToCTLbutRecievedYet]
FROM EXPORT
WHERE (((EXPORT.SEND_CTL_DATE) Is Not Null) AND ((EXPORT.CTL_ID)='') and (EXPORT.BOOK_ID)<>'')
GROUP BY Mid([BOOK_ID],5,4);";
$sSql5 = "SELECT Mid([BOOK_ID],5,4) AS YearMonth, Count(EXPORT.EXPORT_DOC_ID) AS exportDoc_recieved
FROM EXPORT
WHERE (((EXPORT.EXPORT_DOC_ID)<>'') and (EXPORT.BOOK_ID)<>'')
GROUP BY Mid([BOOK_ID],5,4);";
$sSql6="SELECT Mid([BOOK_ID],5,4) AS YearMonth, Count(EXPORT.EXPORT_DOC_ID) AS exportDoc_recievedYet
FROM EXPORT
WHERE (((EXPORT.EXPORT_DOC_ID)='') and (EXPORT.BOOK_ID)<>'')
GROUP BY Mid([BOOK_ID],5,4);";