Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WHERE IN (?lcMyListOfVals) in DBC view
Message
De
06/11/2000 08:07:18
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00438261
Message ID:
00438270
Vues:
9
Bret

Thanks for the reply

I'm after an IN clause that may contain 2,5 or 'x' items. Because a dbc view cannot manage a variable number of parameters I need to load the list of values into a parameter. In the past I've seen this done using a special technique to "fool" the view into inserting the parameter into the SQL and having it interpreted as a list... but I can't remember what it is!

Regards

JR
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform