Firstly I wasn't familiar with the code you mentioned in your first reply. I would however like to thank you for your explanation. I will stick to my routine for now as it works but I understand what you mean. Why keep doing dataset.tables(0).rows .... when you only have one table in your recordset.