DOCUMENT:Q156503 31-JUL-2001 [visualc] TITLE :BUG: Error When Deleting a Record Using the Apex Grid Control PRODUCT :Microsoft C Compiler PROD/VER:4.20 OPER/SYS: KEYWORDS:kbVC kbHWx86kbbuglist ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual C++, 32-bit Enterprise Edition, versions 4.2, 4.2b - Microsoft Visual C++, 32-bit Professional Edition, versions 4.2, 4.2b ------------------------------------------------------------------------------- SYMPTOMS ======== When deleting a record in the data-bound Apex Grid Control (DBGRID32.OCX), the following error appears in a message box: 37000: [Microsoft][ODBC Microsoft Access 7.0 Driver] Syntax error in query expression 'current of SQL_CUR12522868X' The actual cursor name may vary, so instead of "SQL_CUR12522868X," you may see "SQL_CURXXXXXXXXX" where the X can be any value. CAUSE ===== This is a problem in the Apex Grid control. RESOLUTION ========== To work around the problem, set the CursorDriver property of the Remote Data Control (RDC) to one of the following: - ODBC Cursor - Server-side cursor STATUS ====== Microsoft has confirmed this to be a problem the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATION ================ The Apex Grid Control issues positioned deletes of the form: DELETE FROM