>Dim oParams As OleDbParameter() = {New OleDbParameter("@customerid", CustomerID), New OleDbParameter("@PurchaseDate", PurchaseDate)} > >Dim FoxCMD As OleDbCommand = Library.SQLExecCommand("select shippers.companyname as shippername, orders.* " + _ > "from orders, shippers where orders.shipvia = shippers.shipperid and customerid = ? and purchasedate > ?", oParams) >Thanks, I will give this a try this weekend once I resolve this application subclassing that I am still trying to find how to do it.