SQLRowCount is ODBC API function. It returns the number of rows affected by an UPDATE, INSERT, or DELETE statement.
It is declared as
SQLRETURN SQLRowCount(
SQLHSTMT StatementHandle,
SQLINTEGER * RowCountPtr);
FoxPro declaration
DECLARE SHORT SQLRowCount IN odbc32;
INTEGER StatementHandle,;
INTEGER @ RowCountPtr
MSDN link:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odch21jpr_2.aspBefore using this particular function you have to use many other ODBC API function to connect, create statement handle etc.
In most imaginable situations native
_TALLY is good enough. I hardly can find a reason of using the
SQLRowCount.