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:
-----------------ERROR--------------------
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship. Change the data in the field or fields that contain duplicate data, remove the index, or redefine the index to permit duplicate entries and try again.
/dsm/html/admin/admin_ADDdwg.asp, line 188
----------------- END ERROR--------------------
I would rather want the page to redirect to an html page that makes the statement in a simple way.
How can this be done?
Any help appreciated.
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:
-----------------ERROR--------------------
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship. Change the data in the field or fields that contain duplicate data, remove the index, or redefine the index to permit duplicate entries and try again.
/dsm/html/admin/admin_ADDdwg.asp, line 188
----------------- END ERROR--------------------
I would rather want the page to redirect to an html page that makes the statement in a simple way.
How can this be done?
Any help appreciated.