Caption
Allows you to change a field caption on a screen.
This property is applicable to a particular screen only. To permanently change a caption for all screens, go to <My Profile> | Administration | Customization | <Entity> | Fields area in Sage CRM.
Values
Value. Specifies the field caption to use. Accepts a string value.
Examples
r = CRM.FindRecord('Company','Comp_companyid=30');
EG = CRM.GetBlock('companyboxlong');
NewE = EG.GetBlock('comp_revenue');
NewE.Caption = 'My new caption';
CRM.AddContent(EG.Execute(r));
Response.Write(CRM.GetPage());
Changes the comp_revenue field caption to My new caption.