I need some help with a search. If you look at the pic you will see that I have a CLIENTS folder. Inside the CLIENTS folder is a folder for each specific client. Inside the specific client's folder is a folder for each program the client is receiving services in. This could be one of several possible programs. I have a template attached to the program folder that includes a field named case_status. If case_status = 1 the case is open, case_status = 0 the case is closed. There are also subfolders under the program folder that uses the same template as the main program folder.
I want to search for all programs folders that are case_status = 1. I only want the program folder, no subfolders under it. In this case, the folders highlighted in yellow are possible folders depending on the case status. The blacked-outs rows are client folders with client names.
I'm not sure how I can search a child folder when the parent folders name varies. Thanks in advance.