[Dev-C++] Anybody know anything about SQL_ATTR_MAX_ROWS?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ed C. <em...@to...> - 2003-09-15 22:44:29
|
Hi all, I'm working on a database app and need to limit the recordset size. I've been trying to do this with SQLSetStmtAttr() and the attribute SQL_ATTR_MAX_ROWS, but it appears that the driver considers my request invalid, as it returns that code, then sets the max rows to the default = (0 =3D all rows).=20 The database driver that is causing the trouble is FoxPro; is this = because the FoxPro ODBC driver doesn't support that attribute? I can't find = anything useful on Google... Thanks! -Ed |