Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stored Procedures and ADO
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01059935
Message ID:
01119351
Vues:
13
>>>Below's runnable sample code that shows how to call VFP SP with 2 date type parameters
>
><snip>
>
>The same for one character parameter
>>>oCmd.CommandText = [CustOrdersOrders(?)]
>>>lcCustomerID = "TOMSP"
>>>oPar = oCmd.CreateParameter(lcCustomerID, ;
>>>		adVarChar, adParamInput, LEN(lcCustomerID), lcCustomerID)
>>>oCmd.Parameters.Append(oPar)
>>>oRs = oCmd.Execute()
>>>
>>
>>Can you return VFP cursor using this approach?
>
>See Re: CursorAdapters and existing ADO recordsets Message #824438

I see. Also I guess I can just do

oConn.Execute('MySp('+transform(par1)+"," + transform(par2)+()') to retrieve my record set.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform