Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question about using SQL Pass-Through and VFP
Message
De
28/04/2001 22:51:14
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Question about using SQL Pass-Through and VFP
Divers
Thread ID:
00501313
Message ID:
00501313
Vues:
62
This might be a stupid question, but...

Let's say I have an invoice history file in SQL Server. I also have a VFP front-end that allows someone to select accounts and products to query/report against.

So the user picks 10 accounts and 3 items to report on. (Though the user could just as easily pick 100 accounts and 100 items.) This list could be stored in a set of arrays, or in a cursor, DBF, recordset, etc.

How would I 'get' this list of 10 accounts and 3 items to a SQL Server Stored Procedure, so that a SP could query the invoice history file and return the results?

Sorry if this question is so basic, but there's just so much about visibility, architecture of this stuff that I'm trying to learn.

Also, is anyone aware of VFP sample code for working with stored procedures in SQL Server?

Thanks in advance,
Kevin
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform