Question for those familiar with "Personal Address Book" Database Template

I have a DB that is based off of the “Personal Address Book” template that comes with Domino/Notes.

Anyhow, what I am trying to do is move data from another database into this one based on the Personal Address Book. I have opened it, set form, set fields and saved it, but alas it does not show up in the “Contacts” view.

Here is the code from the DB that is trying to send data to the Personal Address Book based DB. It is just a “test” to see if I can do it.:

Dim CRM As New NotesDatabase ( “servernameishere”, “DBnameishere” )

Dim CRMDoc As New NotesDocument ( CRM )

CRMDoc.Form = “Contact”

CRMDoc.FirstName = “Aaaaaaaaaaa”

CRMDoc.LastName = “Aaaaaaaaaaaaaaaaaa”

Call CRMDoc.Save( False, False )

Subject: Question for those familiar with “Personal Address Book” Database Template

If you check out the contacts view selection formula you will notice that documents in this view have either Type = “Person” : “Company”.

So you need one more field with either values.

HTH – Cheers