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

Check for duplicate before insert

Thread began 4/08/2012 1:04 am by dvan_zelst | Last modified 4/09/2012 12:12 pm by dvan_zelst | 667 views | 3 replies


Check for duplicate before insert


I was wondering if there is any simple guide or tutorial on how to implement a check to prevent a simple form from inserting its values to the database if there is a duplicate?

I created an simple insert form and set in my database the 'name' column to be unique.
I used a DataAssist insert behavior to insert the form values into the database.
How can i make the insert behavior to first check the 'name' field for duplicates before really inserting and if there is already a dulicate to show the message that the name already exist and need to choose another name.

Does this involve handcoding or does DataAssist has such feature inside to check first.

I hope someone can give some easy tutorial how to do this.


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