>Thanks
>But same thing
>this action cannot be completed because the other program is busy...
>I have to use taskmanger to exit VFP
>
did the .close() help at all ?
following up on Chris's comment about storing the PK in the contact item...
you can store the PK in the item's user properties
#DEFINE olNumber 3
.UserProperties.ADD("MyPK",olNumber)
.UserProperties("MyPK").VALUE = PK
and then to search for same
oItem = oItems.FIND('[MyPK]='+ALLTRIM(STR(PK)))
hth
n