Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Who really uses the VFPOleDB.1 provider?
Message
From
05/10/2006 23:13:37
 
 
General information
Forum:
ASP.NET
Category:
Databases
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01158763
Message ID:
01159928
Views:
31
>General Structure should be:
>
>*VFP Stored Procedure:
>PROCEDURE DoSomething
>  LPARAMETERS x
>  SELECT * FROM myTable WHERE something = x INTO CURSOR myCursor
>  RETURN SETRESULTSET("myCursor")
>ENDPROC
>
and in VB.NET something like:
>...
>With oCommand
>  .CommandType = CommandType.StoredProcedure
>  .CommandText = "DoSomething"
>  '.Parameters.Add .....
>End With
>da.SelectCommand = oCommand
>da.Fill(oDataSet)
With the store procedure, I end up with the same result. I got an error after a few hundreds of transactions which is the same type of error I got before.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform