Hi Guys,
I have an access table that has an index column. This table is used to store all the "dialed" phone #s provided by the "client" to call, as in telemarketing phone #s. Lets call it CalledTbl
structure below:
CalledTbl
---------
Phonenum - Index: (Yes No Duplicates)
At the end of the month the client sends us another set of phone #s. now, some of these phone #s could be numbers that has already been called from the previous months. whatever number we call at the end of the day, it goes into CalledTbl.
Inserting the records manually in access gives me this error message:
"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."
Then it ask me if I want to proceed. I click Yes, the records that does not exist in the CalledTbl gets inserted, the once that already exist get discarded.
I want to automate the process. I get the same error message using ASP after trapping the error using, On Error Resume Next...On Error Goto 0. But, the records never gets inserted unlike doing it manually...this is the problem.
Please help...
thanks a lot....
I have an access table that has an index column. This table is used to store all the "dialed" phone #s provided by the "client" to call, as in telemarketing phone #s. Lets call it CalledTbl
structure below:
CalledTbl
---------
Phonenum - Index: (Yes No Duplicates)
At the end of the month the client sends us another set of phone #s. now, some of these phone #s could be numbers that has already been called from the previous months. whatever number we call at the end of the day, it goes into CalledTbl.
Inserting the records manually in access gives me this error message:
"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."
Then it ask me if I want to proceed. I click Yes, the records that does not exist in the CalledTbl gets inserted, the once that already exist get discarded.
I want to automate the process. I get the same error message using ASP after trapping the error using, On Error Resume Next...On Error Goto 0. But, the records never gets inserted unlike doing it manually...this is the problem.
Please help...
thanks a lot....