Thanks, thats a good start, I was hoping to be able to do something like this :
"FOR EACH tt1, FIRST tt2 LEFT OUTER-JOIN WHERE tt2.ii EQ tt1.ii AND tt2.ii EQ ?" but it doesn't work, it returns all records from tt1 anyway.
However I can test in the loop if tt2.ii EQ ?, I guess it's a two step...