hi there,
I have a database where users can sign in for a workshop.
the workshop values are in the table .workshop.
the signed in users are in the table .signed_users.
.workshop.
{wk_id}
{wk_title}
{wk_max_users}
.signed_users.
{user_id}
{wk_id}
so in a grid i can see how many users are signed in by adding a field and some code
The question
The company want’s a treshold of a minimum of 6 users for a workshop and a list of workshops in a grid that shows only those workshops that have 6 or less users signed in.
it makes me crazy to get this done. you can’t filter or sort on an added field with the values in it and i can’t figure out a WHERE clausule or something else to filter only those records in a grid.
any help or suggestions