As usual everything is described in FoxPro manual :)
Function
SQLGetProp() called with cSetting='ODBChstmt' returnes
the internal ODBC statement handle, which may be used by external library files (FLL files) to call ODBC.
hStat = SQLConnect('MySource')
hRealStat = SQLGetProp(hStat, "ODBChstmt")
? 'Real statement handle:', hRealStat
= SQLDisconnect('MySource')
That means the handle returned by
SQLConnect() -- even if it is desribed in the manual as a
statement handle -- is just an internal FoxPro handle.
The
SQLRowCount called with a real statement handle does not create an exception error.