Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SP returns 2 results sets, how do I retrieve them in VFP
Message
De
18/02/2003 18:10:51
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
SP returns 2 results sets, how do I retrieve them in VFP
Divers
Thread ID:
00754718
Message ID:
00754718
Vues:
36
I have written an SQL Stored Procedure that creates two result sets and I need them both in VFP. This is not the same as sending two select commands from VFP as shown in VFP help. I can't union the results because they have completely different structures and I need to keep those structures intact when I pull the data to VFP. They must be created together because the second set uses key values from the first set to retrieve additional data. Is there any way to retrieve both the cursors in VFP? At this time I get neither cursor and the data session window is empty.


lcCommand = "exec ap_ShippingDetailForDateRange '1000', '2000'"

=SQLSetProp(lnConnect, "BatchMode", .F.)

lnResult = sqlexec(lnConnect, lcCommand, 'curOpen')
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform