Hey Thanks Tim

That was really helpful .. I ll try to implement this into the Stored Procedures

Amol