Thanks Andy. From your post you seem to indicate that if it is set for catid=123 then it will search the category ID and "all its sub-cats" - which is what I want but it only shows links from category ID 123 and doesn't show links from any of the sub-cats ie. if the main catid is 123 and if there are sub-cats under it like 234, 456 then it won't show results from those sub-cats 234 or 456 but only shows links from 123.