Hi again,
Have to ask one more question..
I've now changed the query to:
Code:
SELECT name, id FROM `#__eaci_customers` WHERE `id`='[cb_customers]' ORDER BY `name`
Also changed Output to "Multiple Rows" and placed the following in "Rows"
Code:
<div><a href="index.php/kunder/kunder/[column_id]">[column_name]</a></div>
If just one customer name and id is returned from the selected record, it works and show this perfectly. However - a client can have more than one customer, and if thats the case, only the first value (customer) is shown as a result of the above output - not the rest...
When I edit the customer information on a client, I do this by using the "Query Drop Down (Multi-select)". When selecting multiple customers, this is stored in a "customer" column in comprofiler table, in the format "4|*|1|*|3|*|5" each representing a customer id from "#__eaci_customers".
Question is - how do I format the query and output above, show all customers id & names registered for the user? I thought this was what the selection of "Multiple Rows" was supposed to do for me - ie. run the query for each value in the "cb_customers" column on the selected record?
Hope you can follow me, as I feel this is described somewhat more complex than I intended
Cheers