Okay so here is "in a nutshell" what I m trying to accomplish...
Users of my application can go and create a new group. They can specify criteria about other users which they will allow/deny to determine who is allowed to join the group.
Example: Age: 12 - 16 yrs old Height: 5 - 6 feet
The data table that stores the rules would be like: Allow or Deny Flag (Y/N) AgeStart: 12 AgeEnd: 16 HeightStart: 5 HeightEnd: 6
We would then need to check if the user meets the criteria to determine if they are allowed to join the group.
Does this make sense? There can also be EXCEPTION rules which go against it... such as first "Allow: Y" might be Ages 12 to 30 but a second record might be added to Deny ages 25 to 28 so the user would have to meet both criteria to enter.
Any takers on this one?