|
Subject:
|
Code from Book did not work!
|
|
Posted By:
|
mnongkhlaw
|
Post Date:
|
10/27/2003 6:25:58 AM
|
I used the code on Page 81 of the book "ASP 3.0 Programmer's Reference" and the procedure on pp 84-86 and tested my page for duplicate primary field entries. When I clicked the Save button on my page, instead of the customized page, I still get the following :-
Microsoft JET Database Engine error '80004005'
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.
/hardware/_ScriptLibrary/Recordset.ASP, line 311
I used Visual Interdev 6 Enterprise and DTCs for my page. I have Windows 2000 Server & IIS.
What is wrong here?
Regards,
Mark
|
|
Reply By:
|
Hal Levy
|
Reply Date:
|
10/27/2003 1:54:36 PM
|
There are a number of problems here..
1. Your asking a technical question in a feedback area. This question should be asked in a technical area. http://p2p.wrox.com/topic.asp?TOPIC_ID=1378 - a sticky topic in this forum - explains how to get support.
2. This book is not a WROX book any longer- it is a book that APRESS purchased. You should contact them for specific problems with the code in the books they own. You can contact them at www.apress.com
Hal Levy Web Developer, PDI Inc.
NOT a Wiley/Wrox Employee
|
|
Reply By:
|
mnongkhlaw
|
Reply Date:
|
10/27/2003 11:34:59 PM
|
Sorry, guys! And thank you for enlightening me.
Mark
|