Article ID: 156631
Article Last Modified on 10/15/2003
Field Name = "customer.customer_id"
Criteria = IN
Example = ?a, ?b, ?c
SELECT *;
FROM tastrade!customer;
WHERE Customer.customer_id IN (?a, ?b, ?c)
When you browse the View, it prompts you three times to enter each of the
three parameters. If, for example, you enter "ALFKI," "ANATR," and "ANTON"
as the first, second, and third parameters, respectively for the
parameters, then three records display correctly. Alternately, you can
assign the strings, for example "ALFKI," "ANATR," and "ANTON" respectively,
to each of the variables a, b, and c respectively before browsing the View.
MODIFY DATABASE HOME()+"samples\tastrade\data\tastrade.dbc"
SELECT *;
FROM tastrade!customer;
WHERE Customer.customer_id IN (?lcKeyList)
lcKeyList=' "ALFKI,","ANATR,","ANTON" '
CLEAR MEMO lcKeyList ALL
"ALFKI",ANATR","ANTON"
lcKeyList=' "ALFKI","ANATR","ANTON" '
SELECT * FROM tastrade!customer
WHERE customer_id IN (&lcKeyList)
Additional query words: kbdse VFoxWin PARAMETER MULTIPLE
Keywords: KB156631