Hi Ivan, Thank you very much for your help. Could you please give a link for the sql-tutorial you mentioned? Again thanks Greg > It seems you need just get inner join for two tables. BTW - take a > look on our sql-tutorial. > There is detailed description and examples.