I have the following SQL string that has an error in the JOIN statement that I cannot fix.
It's probably very simple but my SQL knowledge is insufficient to sort it out, try as I may.
In this iteration, sTable = "Barry Collier Collection"
It's probably very simple but my SQL knowledge is insufficient to sort it out, try as I may.
In this iteration, sTable = "Barry Collier Collection"
Code:
sQry = "INSERT INTO NoMatch ( Family, Genus, Accession, Collector, CollNumber, tFamily )" & " " & _
"SELECT Family, Genus, AccessionNumber, Collector, CollectorNo, Bad_Family.Family" & " " & _
"FROM [" & sTable & "] LEFT JOIN Taxon ON " & sTable & " .Family = Taxon.family"