Thanks Shakti,

It did work what you said. I did that before, but I was loading the wrong report. Just released my mistake.

However, I am interested in this formula. Can you give me some sample code on how to write this formula. I would like to learn how to do this.

Many thanks for your help,

Steve