Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I execute a VFP Stored Procedure using OLEDB
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00727658
Message ID:
00727978
Vues:
16
This message has been marked as a message which has helped to the initial question of the thread.
Hi Bret.

>So my question is what do I need to provide to the oCommand object to execute my Stored Procedure called GetKey (with the table name parameter) and get the key returned to me?

Use code similar to the following:
oCommand.CommandType = 8  && adCmdUnknown
oCommand.CommandText = "GetKey()"
oRS = oCommand.Execute()
lnNewKey = oRS.Fields('Return_Value').Value
Doug
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform