Other than issuing a SQL statement like:
or running a loop on my results and counting them, is there anyway to get a row count fromCode:SELECT COUNT() FROM ..
I've checked reader methods and none of them return the count.Code:System::Data::Odbc::OdbcDataReader^ reader = g_cmd->ExecuteReader();
returns a count but I do not know of what.Code:reader->FieldCount
Afraid not. I've been in the same position and just sucked it up and done a loop.
Void
Oh well, I ended up doing a loop to get the count.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks