Hi all,
In a DB table, I have the fields “Client Id” ( a numeric identifier of the client) , “Client Name” (The name of the client).
In the report I want the query to filter on a list of “Client Id”: SELECT … FROM…WHERE ClientId IN (List of Client ids) .
This list of clients should be prompted by the report. So something
SELECT … FROM…WHERE ClientId IN @Prompt(…) .
My problem is that - In the prompt - I want to show a list of clients with their ids and their names ( SELECT ClientId || ’ ’ || ClientName FROM clients ) but not just their ids ( SELECT ClientId FROM Clients ). In the query I want to filter on the ids only.
What should I do ?
Thanks in advance for you help,
R
jlinho (BOB member since 2009-05-12)