Hello to all, new here and pretty new to infopath. I apologize if any of my questions here have already been answered (I'm sure many have been), however when I searched the forums anything that appeared could be helpful left me remaining confused, so I'd really appreciate some individual hands on help :)
I'm currently an intern at a phone company, and they've requested I create a form which follows a certain workflow. The design is all set, everything is worked out logically in my head, however execution is another story. So, here goes in trying to explain what I need to do and what I need help with:
I've created a form which features several fields which are entered by the person who originaly submits the form. There is then a repeating table which every person who comes in contact with the forum updates before passing it along. Within this table there is a field "delegatedTo" which is the next person which the forum is to be emailed to when submitted. My superiors want the data processed/updated into a database everytime it is submitted (and it is submitted everytime it's updated). Here are my issues:
A. Submitting data to a database (Access)
I understand how I can create a form that is connected to a database, however my logical issue is how I'd write the subtable on each form into the database. A cell in a Access database can't feature an entire table (I don't believe at least), so I'm not sure what I'm going to do about that. One thought was to have infopath create a html page which contains that table, and then have a field in the database be a link to that table. Does anyone have perhaps a better suggestion? Or if not, how exactly I'd go about saving a seperate HTML file within my coding.
The further issue from there is simply submitting the other data. I don't completely understand how to have the data entered on the form transfered into the database. I've also got to make sure it's not already in the database. Each form will have it's own ID, so when it's submitted, if that ID is already in the database, it should overwrite that section rather than create an entirely new entry.
B. Another issue with having the repeating table within the form is I want the submit button to use the "delegatedTo" field from the last row used in the repeating table. A simple while row not empty type loop makes sense...I just don't know how the proper coding language to establish that, and to be able to change where the data connection for the submit button.