you want to constrain by multiple statuses? Or just one status at a time (radio buttons instead of check boxes)?
Multiple statuses .. like Active and New status records together based on the first found set.
that makes it more difficult. You'll need a script that loops through the list created by your checkbox field. You're list might look like:
You'll need a button to fire the script after you select the statuses to constrain by.
Edit: I used Main::text1 twice - the first usage would be your text field (probably global) containing your checkbox. The second usage would be your status field.
Well.. this is ok.. other case is imagine i have many profiles from different countries. Then i like to find how many active & old status profiles are there through this script. So i searched for 'India' first. Then in india i like to know how manr are active & old. If i run this status script it should be able to contrain the first search i did. Which was searched by country. Means constrain the first search with the status loop.