close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Update Record Behaviour has me baffled!

Thread began 9/26/2011 9:14 am by acaciasd344844 | Last modified 9/26/2011 2:38 pm by acaciasd344844 | 558 views | 2 replies

acaciasd344844

Update Record Behaviour has me baffled!

Hi,

I will try and explain this as best and clearly as I can. I have a form that has to perform an insert and an update at the same time. And so far the page is performing that function.

However, the problem is that the Update Record Server Behavior is not selecting the correct record when the relevant submit button is selected.

I have a dataassist repeat region containing a list of serial numbers relating to a dataset. Inside this region I also have a button. So for each serial number there is a submit button next to it. Its for ease of selection for the end user.

From what I can gather and after playing around for hours with the database, is that the server behavior is selecting the last row in the list even though I selected the first row. Its as though the Server Behavior is ignoring the Key Column and Value that I have given it. I have displayed the key column on the page and can see the values in question. But I cant for the life of me figure out what I'm doing wrong. As I said it is updating the database tables. The Insert works correctly for one table and then the Update populates the table. But its always the last item in the list.

Should I try making the update behavior run first and then add the insert behavior? I wouldn't have thought that should have made such a difference!

I will add a zip file for your attention

Hope you can help


cheers


john

Attached Files
m_jobdetails_addbox.zip

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