Informix OLEDB driver and "RecordCount" property
Posted in 2004
Hi Informixers, why is the "RecordCount" property of a recordset retrieved via the Informix OLEDB driver always "-1"? I'm using VisualBasic 6 and need the RecordCount property for subsequent calculations. With the ODBC driver, I had to use the "MoveLast" and "MoveFirst" methods before the RecordCount was set correctly. This doesn't help any more with OLEDB, it stays at "-1" even after a "MoveLast". In production, I'm still at CSDK 2.70, but even the ifxoledbc.dll from the newest CSDK 2.81.TC3 didn't change this. Regards, Richard -- +-------------------------------+-------------------------------+ | Dr. med Richard Spitz | Tel : +49-89-7095-6110 | | Klinik f'r Anaesthesiologie | FAX : +49-89-7095-6420 | | Klinikum der Univ. M'nchen | Page: +49-89-7095-789-2116 | | 81366 M'nchen, Germany | | +-------------------------------+-------------------------------+