Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stored Procedures and ADO
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01059935
Message ID:
01119351
Views:
14
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform