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:
00812840
Views:
26
This message has been marked as the solution to the initial question of the thread.
Hi Thom,

The SQLRowCount is applicable to UPDATE, DELETE, and INSERT statements only. So I did not try SQLExecDirect with a SELECT.

Normally ODBC API function SQLExecDirect is not used just by itself. If a SELECT statement is executed, there are several other ODBC API functions to be employed to retrieve the results: SQLBindCol, SQlFetch etc.

The Visual FoxPro virtually "spoiled" us with cursors -- they are so fast and convenient comparing to direct API calls.
Previous
Reply
Map
View

Click here to load this message in the networking platform