Thanks Julian that worked a treat!

Not very good with pl/sql yet so it does help when I get pointed in the right direction, although understanding what it was doing will take me a little longer to work out!!!


Thanks again.

Ali