• if i know how to code it in while loop i can easily add extra business rules in it.

    what business rules do you foresee that will necessitate a while loop...as ooposed to amending the current solution?

    will be interested to understand....and hopefully someone will be along to help you.

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day