Great community. Great ideas.
Welcome to ASP/Free, a community dedicated to helping beginners and professionals alike in improving their knowledge of Microsoft's development and administration technologies. Sign up today to gain access to the combined insight of tens of thousands of members.
November 9th, 2012, 01:22 PM
skip adding a new record if already exist.
I would like to know how to check if an email already exist and skip adding a new record.
This is my code;
MyEmail = Trim(MyConfig.AttributeGet("email"))
MyNewsletter = Trim(MyConfig.AttributeGet("newsletter"))
If MyEmail <> "" And MyNewsletter = "yes" Then
firstN = Trim(MyConfig.AttributeGet("firstname"))
lastN = Trim(MyConfig.AttributeGet("lastname"))
If firstN <> "" Or lastN <> "" Then dbA("name") = firstN & " " & lastN
dbA("email") = MyEmail
dbA("checkbox") = MyNewsletter
By jesushax in forum ASP Development
Last Post: May 13th, 2008, 06:50 AM
By kevpick in forum ASP Development
Last Post: August 26th, 2005, 06:45 AM
By lervy01 in forum .NET Development
Last Post: August 8th, 2005, 04:42 PM
By DaPrince in forum ASP Development
Last Post: March 21st, 2004, 08:44 AM
By kokopoko in forum ASP Development
Last Post: February 12th, 2004, 04:43 AM