> How do I do a bbdb search for records where the value of
> certain fields is nil, e.g., for records where there is no
> company named? I tried "" and "^$" and nil, and finally
> gave up.
"^$" is correct, but you must do the lookup on a specific field
(e.g. you should call 'bbdb-company, not 'bbdb). If you just run
'bbdb, you will get all entries with some field empty.
I just ran `(bbdb-company "^$" nil)' and got all entries with each
company field empty. Note that when you call it interactively, you
shouldn't include the quotes.
In fact, I use either the "^$" or the inverse ".+" all the time for
lookups.
Now what I would like would be something that allows multiple
restrictions of the database. The function would take a list of
field/regexp pairs and would give me just what matches the
intersection.
--
Colin Rafferty, Lehman Brothers <[EMAIL PROTECTED]>
pgp print = 91FED077 BD5588B6 30B372D2 F9172162
Don't know what pgp is? Ask me!