Click to See Complete Forum and Search --> : Avoiding Duplicate Records


chc325
05-02-2003, 05:26 PM
Dreamweaver can prevent duplicate usernames from being inserted into a SQL table. I would like to use UltraDev or MX to prevent duplicate numbers from being upodated. How can I do this in Dreamweaver or by writing custom code (vbscript) Help. Thanks

Bullschmidt
05-05-2003, 12:21 AM
Or check to see if the database already contains the entry:

' If not empty rs.
If Not objRS.EOF Then
[Already a user with that name code goes here]
Else
[Process the data code goes here]
End If