Thomas E Deweese writes:
 > >>>>> "MH" == Mikael Hedin <[EMAIL PROTECTED]> writes:
 > 
 > MH> I am brand new to the list, so I just hope this is not something
 > MH> old.  When using bbdb-create-internal, I can insert the same entry
 > MH> several times, but later when I use bbdb, it bails out with
 > MH> "Duplicate entries in the database".  Try evaluating the following
 > MH> several times:
 > 
 >      The current 'release' versions of BBDB do not support multiple
 > records with the same name.  By using bbdb-create-internal you are
 > by-passing the normal checks that prevent you from creating duplicate
 > records.

Citing the help-function:

<cite>
`bbdb-create-internal' is a compiled Lisp function
  -- loaded from "bbdb-com"
(bbdb-create-internal NAME COMPANY NET ADDRS PHONES NOTES)

Documentation:
Adds a record to the database; this function does a fair amount of
error-checking on the passed in values, so it's safe to call this from
other programs.
<end cite>

so it should not allow non-valid entries.  Try the following:

(bbdb-create-internal "Hedin Mikael" nil "[EMAIL PROTECTED]" '(["Home" "Skyttegatan 
2" "" "" "Kiruna" "" 98137]) '(["" ""]) '((Custom-4 . "")))
(bbdb-create-internal "Rang-Bengtsson" nil "" '(["Home" "Sandhamnsv�gen 2" "" "" 
"Nyn�shamn" "" 14951]) '(["" ""]) '((Custom-4 . "")))

the 1st one goes in once, the 2nd goes in any times.  Strange I would
say.

/Micce

-- 
Mikael Hedin                    +46 (0)980 79176
Institutet f�r rymdfysik        +46 (0)980 73547 (home)
Box 812, 981 28 KIRUNA, Sweden  +46 (0)980 79050 (fax)


_______________________________________________
bbdb-info mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/bbdb-info

Reply via email to