Skip to Content
0
Dec 01, 2005 at 03:47 PM

[OCPR] , Error (-1004) encountered.

36 Views

Hi,

I'm tring to change the BP cardname in OCRD

bp.CardName = "New Name"

If bp.Update() <> 0 Then

System.Console.WriteLine("", m_cmp.GetLastErrorCode, m_cmp.GetLastErrorDescription)

End If

the update statement fails with this message

[OCPR] , Error (-1004) encountered.

when the BP has related a contact.

If I try to change the name by B1 (2004 PL34) it works.

Do you know why?

Ciao. Nicola