Move the relational table code below the insert code.
Also, you can use a multiple insert server behavior rather than the Relational Table server behavior when working with insert page. That should decrease the complexity.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.