Dirk, first of all, congratulations on contributing your first recipe! I applaud you for finding your own solutions rather than waiting for me to get around to making improvements in DataQuery ... I have unfortunately been busy with other projects. And since you say you are not a PHP programmer, you have done a very fine job of writing code that gets the job done.
Some of the functionality you're after, such as getting the next available ID number or the number of records in a query, should probably be built into DataQuery, because it can be obtained much more efficiently. I'll add it to the to-do list.
Also, when you get a chance, could you add some more comments to your code? It's pretty readable, but I'm not sure why it does some of the things it does.
Thanks again! I'm glad you're finding DataQuery and DataPlates useful! Ben Stallings March 01, 2008, at 06:41 PM