close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Looping Update query

Thread began 9/24/2015 1:49 pm by LionsMane | Last modified 9/24/2015 3:53 pm by Ray Borduin | 287 views | 3 replies |

LionsMane

Looping Update query

I can use your mySQLi update behaviors to update two tables on one submittal, but the issue is that I may have multiple records in a table, and I want to update ALL of those qualified records. How do I set that update for ALL related records?

Sign in to reply to this post

Ray BorduinWebAssist

How do you define "Qualified Records"? I need more specifics. Are they all updated with the same value or do they have different values? Are you repeating a form? The specific details about what you want updated are important when determining how to do it.

Sign in to reply to this post

LionsMane

Sorry, my bad for not giving enough details. Here's the scenario - There are two tables, Parent and Child. When I run the update I can have two updates, one that updates the Status column of the Parent table, and a second that updates the same Status column on a single record in the Child table, where the ParentID is also stored. But what happens when there are two children for that parent? I need to be able to update ALL children of that same parent.

Sign in to reply to this post

Ray BorduinWebAssist

In your update server behavior specify the lookup column the updated rows share, not necessarily the unique id of the table. It will update all rows that the lookup column matches the lookup value you enter.

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