Dataset Query for 3000 Items

It took me a few while to get it working but finally got it working today. Thank you very much for this.