Guest_imported
New member
- Jan 1, 1970
- 0
ok
I'm trying to capture an IP address
and store it with each record
so I can check for duplicate entries in the future - in effect a spam watcher/ blocker .
I use :
<%= Request.ServerVariables("REMOTE_ADDR"
%>
to get the IP address
and I can display it
but when i try to insert it to the DB as text
I get this :
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.
Only problem is that I KNOW i don't have the field indexed
and duplicates should be allowed. I've tried everything ... even capturing the IP address into a variable - and then trying to submit that variable into the DB with the form but no luck!
help
I'm trying to capture an IP address
and store it with each record
so I can check for duplicate entries in the future - in effect a spam watcher/ blocker .
I use :
<%= Request.ServerVariables("REMOTE_ADDR"

to get the IP address
and I can display it
but when i try to insert it to the DB as text
I get this :
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.
Only problem is that I KNOW i don't have the field indexed
and duplicates should be allowed. I've tried everything ... even capturing the IP address into a variable - and then trying to submit that variable into the DB with the form but no luck!
help
