Gossamer Forum
Home : Products : DBMan : Customization :

duplicate key help

Quote Reply
duplicate key help
I use DBmann since 4 month without a problem but now i have records with the same recordnumber in the database?????
I Think everything is right

# The column name for the database key. Can be any column, but it must be unique!
# You can't have two records with the same key value!
$db_key = 'Bearbeitungsnummer'; #this ist the Name of the field that contains the recordnumber
# Track the key? Should DBMan keep a counter of the next key to use? This isn't
# neccessary if you can guarantee that your entry in the key field will be unique
# (i.e. a userid).
$db_key_track = 1;

i use flock

i thought that it was inpossible to get 2 records with the same key value.

what is wrong?

Thanks

Lorenzo