Good morning all. I am relatively new to InfoPath and I'm designing an input form for some of my users. This form allows our trainers to input training courses their students have taken to a backend SQL database. I have the form working in terms of allowing that input. However, there are some pieces of info I would like to add to the record in an automated fashion. For instance, they will select the students name from a drop list in the repeating section as well as the course description and the relevant dates for completion. I also need to have the student's ID written into the record. I can pull this information from another database. I have created a button that fills in the ID based on the selection of the students name. However, when there are multiple entries, clicking the button places the ID of the first person in the list into all of the entries rather than adding each person's appropriate ID.
Any idea how I can get this to work correctly? Any assistance would be greatly appreciated.
Famous Last Words: " No problem. It'll only take five minutes "