>hi,
>thank you so much,
>it works.
>best regards.
>m.qasem
I am happy that it works. I suggest you always prepare all the data for your reports into cursors - usually with one or more SELECT commands - and then run the report, which should have an empty DataEnvironment.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)