I know it's been a really long time but I'm trying to work through this finally. I have attached a folder with the files and screenshots of the different steps I've made. I have the table and recordset setup. I created the filter, tested it with a demo value and it worked. I then set up the session variable for when the recordset is empty and then another session variable for when it is not empty. From what you said earlier its seems like those two session variables I created need to be combined into one session variable. How do I do that? I think after that it should be easy to edit the ecart object to reference this session variable correct? Thanks so much for your help.