Hi Patrick and welcome to the forum!
You've come to the right place to find the "link" you are looking for! This seems like a very complicated database manipulation and although it might be possible to accomplish this with pure InfoPath, I'm sure you will have to write tons of code. However, instead of doing that why don't you just give out Database Accelerator a try? This middle-tier web service will accept any InfoPath XML form as input and shred the results into a relational schema without writing a single line of code!
The url is http://www.qdabra.com/proddetail.asp?prod=QDBXL1 and if you need any help feel free to e-mail me or anyone else on the team!
Matt Faus / Microsoft InfoPath MVPQdabra® Software / Streamline data gathering to turn process into knowledge