Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing List Parameter
Message
De
21/06/2001 20:02:42
 
 
À
21/06/2001 19:36:26
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00522175
Message ID:
00522223
Vues:
11
You're right. Is as simple as typing it like that.
Well, I guess I got more confused in this instance, thinking about something I wanted to do couple of weeks similar to this.
I had in one table values like:
1
2
3
4....and so on

I wanted to read wherever mixed numbers where coming into the WHERE IN.
Since there where coming from a table if I put them into an array it would not work in the IN(...) and I did not want to type it up like we are doing here.
So the how would you do that? I mean, read it in a 'linear' format instead of columnar.
Does this makes sense or am I confusing you too?

Thanks for answering Gavin


Hi Edgar,
>
> How about:
>
>
>cParList = "('A','B','C','D')"
>
>DO MyProg WITH cParList
>
>PROCEDURE MyProg
>
>LPARAMETERS pcParList
>
>SELECT * ;
>    FROM mytable ;
>    WHERE myfield ;
>    IN &pcParList ;
>    INTO CURSOR mycursor
>
>
>Hope this helps,
>Gavin...
>>>How do I do this?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform