That worked great! I never thought of that.
I still have only one sitch that is baffling me.
The first time the header runs, the field is zero. I put in the code and it suppresses all of the first headers because it evaluates to TRUE because it was the previous value of zero.
I then added an if statement before it saying if the value is greater than zero, then check the previous value. This works fine for all subsequent loops except for the first one which is zero, so it prints all of the group headers while the value is zero then once it changes to 1,2,3, etc. then it works fine.
Any ideas for when the value is zero and all subsequent values are zero? I may need to use another field or add a counter?
Regards,
George