Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Remote Table VFP Help: Useless
Message
 
 
À
27/05/1997 09:22:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00033507
Message ID:
00033756
Vues:
47
>If you return several recordsets (e.g. you have couple Select statements in called stored procedure) then you will get several recordsets with 'similar' names (w/out using additional functions like sqlmoreresults), i.e. if you request "sqlResult" and 3 recordsets returned, then you got sqlResult, sqlResult1, sqlResult2. All them opened so you can use USED() function in loop to determine how manu recordsets you really received.

How does SqlMoreResults have any influence on what the recordsets are named? There is no apparent way to use SQLMoreResults() in such a manner... no arguments for specifying a cursor name. All you can pass it is the connection handle. From VFP Help:

Syntax

SQLMORERESULTS(nConnectionHandle)

Returns

Numeric

Arguments

nConnectionHandle Specifies the connection handle to the data source returned by SQLCONNECT( ).
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform