thank you Abhilash, you answered the EXACT question -
I thought I wanted to average ALL returned records (all if statements considered)
But you gave me exactly what I needed :-) ONLY the actual averages.
No, if someone changes their mind again and I have to average all returned values, where would I put the Average then?
THANKs
Sabine
THANKS
Sabine