Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing primary keys to a View with an in filter
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00679658
Message ID:
00679891
Vues:
19
Hi Chris,

Try it:
strRange = "15,16,17"
lcSel="select * from events where ev_primary in ("+strRange+") into cursor curTemp"
&lcSel.
MartinJ

>Thanks John for your reply - yes I have tried that (although slightly different as I did not put the single quotes around number) and it works when I select into a cursor but not in a view...
>ie.
>
>strRange = "15,16,17"
>select * from events where ev_primary in (&strRange) into cursor curTemp
>
>but when I try to pass strRange to a view I either just get the first record returned or an error
>Thanks again
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform