Code:
strSQL = "SELECT ULTIMATE_DUNS FROM T_DB_MATCH" _
& " WHERE (SPONS_DFE_NAME) Like '" & strCompany & "*'" _
& " GROUP BY ULTIMATE_DUNS"
the code above returns 0 records. However, if I debug.print strSQL and paste the output into the query window I get results. Is the problem with the Like function?