I hope I can explain this righ...here goes. I am responsible to assign accesses to many server/shares. I have a Access DB to track this. On my employee form I have 10 check boxes of which the user can select any number based on his/her job.
I have a table of server names. Each name has 10 check boxes. These check boxes match the names of the check boxes on my Form but do not feed the form. The checkboxes in the table are setup so each server has one or more check box possibilities. In other words the server will be assigned to a user depending on the checkboxes they check on the employee form. So I need a query against the server names table, that will use the input from the employee form to show what servers the employee gets access to.
So...how do I write the query so the checkboxes on the form bring up all the corred table check boxes?
Example....if check box 1 and 4 are checked...the query only show the servers with check box 1 OR 4 true. This works with check box 1 and check box 4 criteria OR'd in the query...but
Issue...the query against the server table references (Criteria)from the employee form for each of the 10 fields....when I select check box 1 on the form the query returns all severs because it is looking for check box 1= true and all the rest false.
I have tried OR'd statements and that does not work. I have tried criteria such as Checkbox 1 or IsNull(checkbox 1) ect in all the check box fields.
It is like having something on the tip of your tounge...it is there but I just can't get to it.
I have a table of server names. Each name has 10 check boxes. These check boxes match the names of the check boxes on my Form but do not feed the form. The checkboxes in the table are setup so each server has one or more check box possibilities. In other words the server will be assigned to a user depending on the checkboxes they check on the employee form. So I need a query against the server names table, that will use the input from the employee form to show what servers the employee gets access to.
So...how do I write the query so the checkboxes on the form bring up all the corred table check boxes?
Example....if check box 1 and 4 are checked...the query only show the servers with check box 1 OR 4 true. This works with check box 1 and check box 4 criteria OR'd in the query...but
Issue...the query against the server table references (Criteria)from the employee form for each of the 10 fields....when I select check box 1 on the form the query returns all severs because it is looking for check box 1= true and all the rest false.
I have tried OR'd statements and that does not work. I have tried criteria such as Checkbox 1 or IsNull(checkbox 1) ect in all the check box fields.
It is like having something on the tip of your tounge...it is there but I just can't get to it.