well...in my database(ACCESS), i have made two field to be a "PRIMARY KEY".
When i do the testing by entering the same value to this field in my
ASP form, this is the IE error page saying something about the PRIMARY KEY!
----------------------------------------------------------------------
Technical Information (for support personnel)
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[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.
/admin/insertClassroomInfo.asp, line 90
Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Page:
POST 55 bytes to /admin/insertClassroomInfo.
asp
---------------------------------------------------------------------
but instead of the IE error reporting them, i want my own
Error Reporting (errorReporting.asp) page to be displayed! with my own message writen inside it!
HOW TO DO THIS SO CALL AN ASP USER FRIENDLY ERROR PAGE????