I think your recordset might be a read only recordset. Could you post the code where you open the recordset?
what I'm most interested in seeing is something that starts with:
rs.open
I'm curious as to the cursor and locktype you have on it.
I used recordsets for a while. I don't use them the same way anymore.
I used to use the addnew method to add new records, etc. Now, I use a read only recordset (fast and efficient), and getrows on the recordset to load it into a 2 dim array. then dump the rs and close the connection. Loop through the array to get out what you need to display. To add or update, I use sql statements (usually insert, update or delete)
Since abandoning a recordset centric approach, everything is faster and easier.
Hope this helps..
|