Informix Record Count with VB 6.0
Posted in 2000
Topics: General Discussion
Informix Record Count Does anyone have problems getting the record count when using VB 6.0 with Informix? If I use : cursor location = aduseclient cursor type = all the various options I am able to get the record count But I cannot move next in my recordset Error message "Multi-step operation generated errors" If I use cursor location = aduseserver cursor type = all the various options I get a record count of -1 But I can move next in my recordset I don't have the above problems with Access and SQL Server. Thanks in advance for any help.
Ronnie schrieb: > If I use > cursor location = aduseserver > cursor type = all the various options > I get a record count of -1 > But I can move next in my recordset You could try the following: - move to last record in recordset - retrieve record count - move to first record in recordset This is a kludge, but it has worked for me in similar situations. Regards, Richard -- +-----------------------------+-------------------------------------+ | Dr. med Richard Spitz | Mail: spitz@ana.med.uni-muenchen.de | | Klinik für Anaesthesiologie | Tel : +49-89-7095-6110 | | Klinikum der Univ. München | FAX : +49-89-7095-6420 | | 81366 München, Germany | GSM : +49-172-8933578 | +-----------------------------+-------------------------------------+