RemoveLookup

Removes specified items from the lists.

Only use this method if the EntryType property value of the target Entry block is set to 21.

Parameters

String. Specifies the list item to be removed.

Examples

r = CRM.FindRecord('Company','Comp_companyid=30');
CompanyBlock = CRM.GetBlock('companyboxlong');
NewE = CompanyBlock.GetEntry('comp_type');
NewE.RemoveLookup("customer");
CRM.AddContent(CompanyBlock.Execute(r));
Response.Write(CRM.GetPage());

Removes the Customer list item from the Type list on the Company entry screen.