Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ODBCs SQLRowCount() - How to use?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00810276
Message ID:
00811067
Vues:
27
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform