$ 0 0 Thanks All for your response.useoneasmany did not works so i wrote a small UDF to get it done. Thanks