DeleteEntry(EntryName)
Deletes the specified entry from the EntryGroup.
Parameters
EntryName. Specifies the name of the field to be deleted.
Return value
None
Examples
var r;
r = CRM.FindRecord('Company','Comp_CompanyId=30');
MyC = CRM.GetBlock('CompanyBoxLong');
userLevel = CRM.GetContextInfo('user','User_Per_Admin');
if (userLevel < 3)
{
MyC.DeleteEntry('comp_revenue');
}
CRM.AddContent(MyC.Execute(r));
Response.Write(CRM.GetPage());
Deletes the comp_revenue field from CompanyBoxLong for non-administrators.