Fantastic Jason, that's sorted out the session variable being recognised. However, I'm still having a problem displaying the correct info, and it's obviously the way I have the recordset set up, i.e. wrongly! I need to display all the accountants whether or not they have any clients - at the moment it's only displaying those accountants who have clients attached to them. I also don't know how to display the total number of clients that belong to each accountant - at the moment I have 3 accountants:
Accountant 1 has 4 clients
Accountant 2 has 2 clients
Accountant 3 has no clients
I need them to display on the page as follows:
Accountant 1 4
Accountant 2 2
Accountant 3 0