How do you have the query setup on the details page? It might be that the URL parameter that you are filtering the recordset on is the mismatch that is occurring. If you can post back with your recordset code on this page so we can take a look at it. You may need to cast a value before it is referenced in the query. Also make sure to include the datatypes for any of the specific columns referenced in the query.