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

Insert Data into 2 Columns

Thread began 7/28/2010 5:13 am by wayne.doherty252635 | Last modified 8/03/2010 4:38 pm by wayne.doherty252635 | 793 views | 9 replies

Eric Mittman

It looks like you have the index field for the update set to the ClinicCode column. For the value you are using Request.Form("WADAUpdateRecordID"). This form element is set to WADAdboHICOMClinicsAndDoctors.Fields.Item("ClinicCode").Value which should be the ClinicCode that comes from the recordset. You are filtering the recordset on this value being either -1 or Request.QueryString("ClinicCode") if it is present.

So long as you get to this page and filter the recordset on this value, and this value is unique in the db it should only update this individual record. The only way that I can see it updating more than one record would be if more than one record had the same ClinicCode before you got to this update page.

The best way to avoid this type of thing with the update it to reference the unique primary key for the table, this would ensure that the value was unique and that only a single record would be updated. I would suggest that you set this field to be the primary key if it is to be unique for each record, or add an index that is a primary key that will be unique for each record. If you add an index you will want to update your recordset on this page to get the id and then update the update server behavior to set this id column as the index field for the update.

If you can post back with an export of the db with just this table in it in a MS Access file I can take a look and do some further testing for you.

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