• Thanks, I looked at the code and it the data collection was slightly different from a report that works so I copied the code and replaced it and it now works.

    Thanks