Thank you for your help! Here’s some more info about what I am trying to do:
I would like to have a form connected to an access database. The form is to enter in information about what jobs have been completed by a particular employee. The simple things like Employee Name, Date, etc I can do. But then there is a section that lists all the possible jobs that an employee may do, such as ‘dig foundation’, ‘dig waterline’, etc. I would like for these jobs to be displayed as checkboxes on the form, so that the employee can easily see the jobs there and just check off the ones they have completed. All of these checkboxes would point to a field in the database called “jobs”. When an employee checks off, say ‘dig foundation’ and ‘dig waterline’, I would like them each to be inserted into the database in separate rows under the “jobs” field. (Ultimately my form will actually get more complex – because I also will have drop down lists and text fields linked to each of these checkboxes, but I’m taking this one slow step at a time to learn how to do this!).
I’ve created a very simple database called “colors” just to test and learn off of before I go to the real thing. There is a field called “color” in the database. I put four checkboxes on the form – red, blue, green, yellow – bound to “color”. I have been trying to get the form to accept my checking off multiple checkboxes – it will not let me. I can only select one at a time. It gives the message about adding a non-repeating control to a repeating group or field. I tried out a repeating table, but I don’t think that will work – it will insert a new row, but always with the same data of “red” or “blue” – depending on what I set the value for that one checkbox. I would like to stay away from using a drop down list if I can because I have a large number of selections and the list would be very long. I thought checkboxes would be easier for the user to see all of the jobs and minimize them selecting the wrong one (the users are not computer savvy).
I guess my question is, is it possible to link multiple checkboxes on an infopath form to one field in a database and have it insert multiple rows under that one field in the db? Or would I need to do some sort of coding to get this to work?
I hope this clears up what I am trying to do.
Thank you so much for your help – I’m stuck!