> > When I am finished I want to turn that array of recids I have made >> into a cursor. > >Aha, many searches.... >Then your way probably the only for SQL. > >And we need improve that query I think. >It must be very fast. > That would be great. I've send you a db and a query for profiling. Thanks, Jon