Stuck With Reporting Scripts
I'm having some issues with a couple of reporting scripts. Sometimes they work, most of the time not though. Can't figure out what's causing it. The scripts are more or less the same so I've attached a screenshot of one of them.