I have created a form that has no bound objects. On form load I create a recordset, query a specific record from the database, and then disconnect the recordset. I then bind the current record to my form, in effect creating a bound form that handles exactly one record. This allows the user to change values and all I have to do is verify data is valid and then run a recordset update.
My problem is this: the form runs perfectly in MS Access 2002 and greater, but with MS Access 2000 I get an error that says "This is not a valid operation" to binding the recordset to the form recordsource. I have updated all computers to MDAC 2.8, is there any workaround around this other than changing the code to run calls to stored procedures or SQL UPDATE statements?
My problem is this: the form runs perfectly in MS Access 2002 and greater, but with MS Access 2000 I get an error that says "This is not a valid operation" to binding the recordset to the form recordsource. I have updated all computers to MDAC 2.8, is there any workaround around this other than changing the code to run calls to stored procedures or SQL UPDATE statements?
Code:
'create recordset rset, query it, disconnect it, etc
Me.RecordSource = rset