The values are taken from a row result
That worked... thx, only the first time the AND condition is left blank so there stands 51 in stead of AND p.product_id = 1
Query = SELECT DISTINCT pt.product_id, pt.kop, left( pt.beschrijving, 75 ) AS samenvatting FROM product_tekst AS pt, winkel AS w, product AS p WHERE pt.product_id = 1 OR pt.product_id = 4 OR pt.product_id = 51 AND p.product_id = 4 AND p.product_id = 5 AND p.winkel_id = w.winkel_id;