sc_label({My_Field})
|
|
This macro aims to dynamically change the label of fields in a query or form application.
It has only one mandatory parameter that must receive the name of the field to be changed.
This parameter can receive a string with the name of the field or a variable.
Examples
Ex. 1: Using the field name directly in the macro.
sc_label("field_name") = "Cust Name";
Ex. 2: Using a local variable to define the field to be changed.
$var_fieldName = "field_name"; sc_label($var_fieldName) = "Cust Name";
Ex. 3: Using a global variable to define the field to be modified.
sc_label([global_variable]) = "Cust Name";
|
Macro Scope
|
calendar application
|
chart application
|
Grid application
|
Search application
|
Form application
|
Control Form
|
Menu application
|
Tree menu
|
ReportPDF application
|
allMacros onInit onLoadAll onRefresh
|
allMacros onInit
|
ajaxFieldonClick allMacros onInit onNavigate
|
allMacros
|
ajaxFieldonBlur ajaxFieldonChange ajaxFieldonClick ajaxFieldonFocus allMacros onInit onLoadAll onNavigate onRecord onRefresh
|
ajaxFieldonBlur ajaxFieldonChange ajaxFieldonClick ajaxFieldonFocus allMacros onInit onLoadAll
|
allMacros
|
allMacros
|
allMacros onInit
|
|