That listing of clients has links that go to the detail page:
<a href="clients_Detail.php?ClientID=<Id from recordset>"><Client name from recordset></a>
If I am wrong on any point the advice I give will be wrong, but here is one way to do it.
change the links to point to the client results page instead of the detail page:
<a href="clients_Results.php?ClientID=<Id from recordset>"><Client name from recordset></a>
Create a recordset that is filtered on the UserID session variable and the client ID Querystring variable.
this is a lookup recordset that will be used to ensure that the clientID querystring variable is client ID that belongs to the logged in user and does not belong to another user.
thanks jason, before i start to impliment, when you say create a recordset that is filterent on the UserID session variable and the clientid querystring variable, is this on the clients_Results.php page or the clients_Detail.php page?
Also i know how to create a filtered recordset based on the session variable UserID however i am not sure how to create a querystring variable can you help with this and with regards to what page it goes on so i can try get this completed?
thanks again for your help jason