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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

insert into two tables

Thread began 5/12/2010 10:12 am by mr hankey | Last modified 6/11/2010 10:33 am by mr hankey | 1712 views | 15 replies

Ian

Originally Said By: mr hankey
  Hey thanks for all your help, i am hoping someone from WA or the community can help here.

I can get my insert into another table on the fly work, however when i create an update on the fly, it creates a new rox in the database rather than update that existing row.

The update of the product works fine but the payments table update creates a new row rather than updating the existing row.

I tried setting it to the session variable at insert of payments table which works great until i log out go to another pc then it wont work when i update as the isnert was done on another computer so cant update based on the insert session variable.

anyone any ideas?

thanks  



I dont quite understand what you are trying to achieve by logging out and going to another computer?

A session variable is only good until the Sessions are cleared or the web browser is closed (hence it being called Session).

You would need to post your code for people to see why the behavior is inserting, rather than updating. My first thought would be you are using an Insert rather than an Update Server 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

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