I have pasted the code below and have not quite found how to make it work
on error resume next
cn.execute("insert into myTable (fileName) values ('someName')")
if err.count <> 0 then
response.redirect "error.asp"
end if
What it does for me is that after I hit the...
Sorry Guys, I am not a proggramer. It's not so easy for me to understand the coding and how it works. I use Dreamweaver which generates the code for me. Below is the code generate for the page which I would like to have the redirect page if a duplicate field is being entered.
What should be...
Sorry Guys, I am not a proggramer. It's not so easy for me to understand the coding and how it works. I use Dreamweaver which generates the code for me. Below is the code generate for the page which I would like to have the redirect page if a duplicate field is being entered...
Hi,
I'm using Dreamweaver MX and created a page to insert data to a database. I have an Access database not to allow duplicate data in one field (Filename). When the user attemps to insert a new record with the same field (Filename) it returns a page error statement...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.