close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

How can I get Multiple Insert, Update, Delete with MRT all working together??

Thread began 5/12/2010 1:44 pm by troyd | Last modified 5/17/2010 5:08 pm by troyd | 2077 views | 9 replies


How can I get Multiple Insert, Update, Delete with MRT all working together??

I have a 3 table db that includes a Category table, Sub Category table and a relational table (see 1st image).

I then have an insert, update, delete multiple records for both the Category and Sub Category table. This works great. (2nd image).

The insert/update/delete fields are in a repeat selection, similar to an example I saw for the BlueSky admin. This works just fine.

But I needed to take it further.

When inserting the Sub Category, I need to also insert records into the relational table so that each Category is related to the Sub Category. I have this working by using the Manage Relational Table behavior and including a multiple select in the Sub Category form that is dynamically populated by the Category table. (But I had to use a single record insert within this part).

Here's my problem. I can't figure out how to delete the records from the relational table at the same time the records are being deleted from the Sub Category table.

Do I add a second MRT behavior? or a second Delete Behavior?

And one last thing. In the MRT the key value is the "key value set to the session variable declared in the Single Record Insert server behavior". But what do we use in the MRT for a multiple record insert behavior?


Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...