I would like to do a SQL request in VBA that avoids some values.
First I do a request that give me the values I do not want:
I put those values in a table
afor example:a = (1, 25, 3)Then I would like to do a request like:
rst.Source = "SELECT TableNumerosClients.NOM_CLIENT ," & _
"FROM table.Clients WHERE NOT table.id in a ;"
My problem here is a, I do not know how to make the query understand that a = (1, 25, 3)
Thanks