I got a very strange situation.
I am using Access 2000. I created an ADO recordset, with cursor location on the client side, from a stored procedure (ADO command). Then I set this recordset to be the form recordset of a continuous form. There are several buttons on the form so a user can click on it to sort the form data. The form data is sorted by the following code:
Me.OrderByOn=True
Me.OrderBy=strOrderBy
The form is sorted OK for the first sort. When I tried to sort it the second time, I got an error 2725 - the OLE Server isn't registered.
I got the same error even after I reset the form recordset each time before the sort.
I am not what I did wrong. Any suggestions?
Thanks in advance.
Seaport
I am using Access 2000. I created an ADO recordset, with cursor location on the client side, from a stored procedure (ADO command). Then I set this recordset to be the form recordset of a continuous form. There are several buttons on the form so a user can click on it to sort the form data. The form data is sorted by the following code:
Me.OrderByOn=True
Me.OrderBy=strOrderBy
The form is sorted OK for the first sort. When I tried to sort it the second time, I got an error 2725 - the OLE Server isn't registered.
I got the same error even after I reset the form recordset each time before the sort.
I am not what I did wrong. Any suggestions?
Thanks in advance.
Seaport