>>As far as speed goes, it should be fine. With SQL Connection pooling, the connections are re-used and it's very fast. However, I notice that you're using OleDbConnection rather than SqlConnection, so you're probably not using SQL Server. I'm not sure how this affects the speed of VFP.
>
>Is there a way to have that code generic, by the use of SqlConnection, even if I have VFP for the backend?
Have what generic? The connection pooling? That's a SQL Server thing.
~~Bonnie