Thanks the reply. I updated my query and am now receiving the error below

Name:  Capture.PNG
Views: 272
Size:  8.4 KB

Code:
str = "SELECT CWIPH.CUST_NO, CCSMS.CUST_NO " _
    & "FROM (CWIPH INNER JOIN CCSMS ON CWIPH.CUST_NO = CCSMS.CUST_NO) "