sc_field_disabled("Field_Name = True/False", "Parameter")
|
|
This macro its used to block a field to get any data that would be typed on it.
Fields that its going to be blocked should be followed by the option "true" (default) or "false".
The parameter its optional, "I" its used only to block de addition of new records, "U" to block only the update, in case of the parameter has not been informed the scriptcase will use both options.
Ex. 1: Blocks only one field for addition and update. sc_field_disabled("Field_01");
Ex. 2: Unblocking a field for addtion and update. sc_field_disabled("Field_02=false");
Ex. 3: Blocks several fields, only for update. sc_field_disabled("Field_01; Field_02; Field_03", "U");
Ex. 4: Combination of block and unblock of several fields, for adition and update. sc_field_disabled("Field_01=true; Field_02=false; Field_03=true");
|
Macro Scope
|
calendar application
|
chart application
|
Search application
|
Form application
|
Control Form
|
Menu application
|
Tree menu
|
ReportPDF application
|
allMacros onLoadAll
|
allMacros
|
allMacros
|
allMacros onLoadAll onNavigate
|
allMacros onLoadAll
|
allMacros
|
allMacros
|
allMacros onHeader
|
|