Thank you very much for your help Vipul !I have used your code (just changing the variable name to resultsCrdrn). I just would like to know how to access the variable created in this query:The idea would be to use Crdrn as a list, with the different delivery codes, so that I can select everyone who ...