in reply to Re^3: fetch all datain thread fetch all data
Good catch. It's been quite some time since I've dabbled with DB stuff. I should have made it clear that my code was untested.