Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Call a VFP stored procedure in Excel 2007
Message
De
10/11/2009 14:57:59
 
 
À
10/11/2009 14:46:15
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Divers
Thread ID:
01434112
Message ID:
01434116
Vues:
47
>I have the stored procedure complete and can run it in VFP by calling "do getpackagecontents"... i get back the result set I want.
>
>Now the question is... how do I call this SP from Excel? I have the data connection but I only have choices for command types of "table" and "SQL". Anyone able to lend me a hand?
>
>Thanks in advance!


Update.... I have figured out I can call the stored procedure using EXEC getpackagecontents

Problem is though I'm not getting back the dataset... only the return value 'true'. I'm sure it is running all the code in the stored procedure though. Question is how do I get that data to refresh inside Excel?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform