Field-Map Scripting

3.4.5.3 PerformOnChangeScriptForAllRecords

PerformOnChangeScriptForAllRecords function


Prototype:

function PerformOnChangeScriptForAllRecords (const AttributeName : string) : boolean;

Description:

Performs On-Change script of specified attribute for all records in the layer. Enables to run the script as a consequence of performance of another script.

Syntax:

variable := Layer.PerformOnChangeScript(AttributeName);


Part

Description


variable

Variable declared as a boolean


Layer

A reference to the Field-Map layer as defined in Field-Map Project Manager


AttributeName

Reference to attribute which On-Change script should be performed




Return value:

True/false (whether the script was performed or not)

                               

See also:

DisableScripts; EnableScripts; ScriptsEnabled; PerformLayerScript; PerformOnChangeScript; PerformOnChangeScriptForAllRecords