It can happen that you get a requiremen similar to this one:
1. You have an unknow number of tables
2. You don't know the structure of the tables in advance
3. You still need forms for entering and maintaining data
The only solution that comes to my mind are dynamically created tabular forms. Tabular forms have already a bad reputation. Now, if you add the word "dynamical" to it, it will sound even more horrorful.
As I promised in the mentioned thread, I tried to create a working example. This is what I came up with:
It took me arround three hours to get that code together. Of course, this can be done much better - using a package and providing some additional functionalities like validations and other item types.