> > To not skip NULL I think you need use OUTER JOIN. > > You need just find correct SQL query. > Move in this direction. OK, I will try this. > > You can SELECT RecID only of left table if you need. > Then iterate this cursor and make Set if you want this. This I could not find, how to make a set if I have a cursor. Thanks for your reply. Arthur