Hi Ray
I've done things slightly differently now, so that 'under pages' are accessed after the initial search.
However, to simplify things, when the page is opened, I'd like just to show the pages WHERE PgType = 1 AND Under_PgID IS NULL
So how do I get the 'IS NULL' into the url ??? below
/pages_Results.php?S_PgID=&S_PgTypeID=1&S_Under_PgID=???&S_PgTitle=&S.....
Or how should I achieve it?? Can the recordset have something like if parameter xyz exists, Under_PgID IS NULL, else ignore it.
Thanks
Chris