The information in this article applies to:
SYMPTOMS
The ADO documentation for the Sort property of the Recordset states the following:
MORE INFORMATIONThe following errors might also occur after you set the Recordset Sort property. Some possible causes are included for troubleshooting. Error Message 1CAUSE: This might happen if you try to sort on a field that is not included in the Select that generated the Recordset. For example, if the Recordset SQL is "Select au_id, au_lname from authors", and you set the Sort property to au_fname, this error occurs on the Recordset::Open. To work around this problem, make sure that the field you are sorting on is included in the Recordset. Error Message 2CAUSE: This error occurs if you specify a server-side cursor, set the Sort property, and try to Open the Recordset. You can only use Sort on client-side cursors. Additional query words:
Keywords : kbdocerr kbADO kbADO200 kbDatabase kbGrpVBDB kbGrpMDAC kbDSupport kbADO210sp2fix |
Last Reviewed: November 17, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |