close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Delete Multiple Records in Repeating region

Thread began 7/13/2011 7:32 am by Blikbrein | Last modified 7/13/2011 11:54 am by Jason Byrnes | 1065 views | 3 replies |

Blikbrein

Delete Multiple Records in Repeating region

I have a page with insert record behaviour. Once this is done, the page refreshes and a repeating table with a recordset containing the info inserted by the user in previous step is displayed at the top of the page. Sort of 'Fake' Ajax ;). Then I have a button at the bottom of the form to cancel the form request which means all the items inserted and displaying at the top which are in a table in the DB should be deleted when pressing this. This means a multiple record delete. when I want to insert this multiple record delete, data assist displays message which says I have to add repeating region server behaviour, which according to me is already done?

Please check my page code to see if I'm missing something. The records in the table that need to be deleted all have the same Requestnumber if this info helps at all.

Attached Files
RequesterRequest_Insert_Type.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

there are no form elements in the repeat region, the multiple delete behavior requires form data to process the delete.


however, i dont believe you need to use the multiple delete behavior, you say:

  The records in the table that need to be deleted all have the same Requestnumber if this info helps at all.  




why not use the single delete behavior and set it to use the Requestnumber column?

Sign in to reply to this post

Blikbrein

Super Awesome! Thank you Jason. Didn't know the behavior was looping through the records to find all the chosen 'ID's'

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

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

Content

rating

Layout

rating

Ease of use

rating

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...