I guess I'm not making myself clear.
what I'm trying to do is create a filtered recordset, based on a primary filter recordset.
So, the first recordset would produce a dynamic table results page, showing just a few columns but then, you would be able to select one line record which would create another recordset and another result page for more detail.
So for instance, the first recordset called 'searchlookup' would be something like;
SELECT CONTACTID, COMPANY, FULLNAME
FROM contacts
WHERE CONTACT LIKE '%colname%' OR COMPANY LIKE '%colname%'
$HTTP_POST_VARS['searchbox']
The seond recordset should be something like
SELECT *
FROM contacts
WHERE CONTACTID = 'searchlookup.CONTACTID'
But all i get at the moment is a result from the last row in the primary recordset as it hasn't recognised which row was selected in the first result dynamic table.
Does this make more sense?