Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBCs SQLRowCount() - How to use?
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00810276
Message ID:
00811067
Views:
26
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform