Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 01-05-2001, 02:08 AM
Palle Palle is offline
Junior Member
 
Join Date: Jan 2001
Posts: 14
Default Error message "Key field containing a duplicate value"

I get the message when I try to post to a wwTbTable. But Im sure that there is no duplicate value in the database file. What can be wrong???

Thanks in advance!
Reply With Quote
  #2  
Old 01-05-2001, 10:54 AM
johnjces johnjces is offline
Senior Member
 
Join Date: Oct 2001
Posts: 444
Default RE: Error message "Key field containing a duplicate value"

I am certain that you have created a field and made it a key or index field with unique properties. Being unique, if a value entered is identical to one which already exists, it will error. Generally key fields cannot be NULL either.

Make sure that whatever field you made as an index or key does not have an identical value or remove the unique property from this key field using db desktop.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 07:44 PM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2018, vBulletin Solutions, Inc.