Hello. I've designed an InfoPath 2007 form that querys a SQL Server database. The form displays a list of operating systems and operating system versions. I have a table called OperatingSystem and another table called OperatingSystemVersion that are linked by key.
If I search for Windows, I get several results because of the one to many relationship with the versions (2000, XP, Vista, etc...)
I understand that I could not delete Windows because there are several child records with keys that rely on that record, but how would I delete the child records (version) that appear on the form? I would like to make a form button to delete a specific version. Idea was to put the delete button in the repeating section so it appears next to every record but I don't know programaticly how to specify to delete the record in the row where the button is clicked.
Thanks for reading and any suggestions.
Howard