close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Only update records that have changed - possible?

Thread began 3/07/2010 3:19 am by webmaster364567 | Last modified 3/09/2010 7:56 pm by webmaster364567 | 681 views | 1 replies

Eric Mittman

How you will do this will depend on how you have this information stored in the db. If you have each answer that the user gives as a unique record in the db then it might be a little simpler to implement.

From what I can tell you will need to have some custom parts for this. The first part would be creating a recordset. You can then populate the form elements with the values from this recordset to show the answers that have already been stored.

Next you would have the user make the updates that they need and submit the form. You would need to loop over the posted values and compare them to the values in your original recordset. If the value does not match the original value then you will update the record. When you update the value with the posted value you can also update the time field with the current time.

This is a custom thing but I think this is the best approach. This way you can make use of a single update server behavior and update only the records that have changed. If you tried to do this with a multiple update server behavior all of the records would be updated regardless of weather or not the value changed. You will need to manually check the value against the existing value to ensure that it has changed.

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