company logo

DBFieldDef :: ExecuteSource - Execute field source

The function executes the field source definition in order to determine the value for transient attributes or collections. Usually, this will be done automatically when reading an instance. When, however, the source parameters change, it might be necessary to recalculate the value without reading the instance again.

Return value:  Success ( logical  )

Implementation overview

Implementation details

  1. Execute source for operation environment
    logical DBFieldDef  :: ExecuteSource ( OperEnvironment *operenv, PropertyHandle &retval_ref, PropertyHandle *co )
    • operenv - Pointer to operation environment
    • retval_ref - Reference to return value property handle

      After returning from the function the retval_ref contains the function or action result.

    • co - Pointer to calling object property handle

      The calling object is a property handle, which refers to an instance or collection of instances. When calling non static expressions, a calling object is required. When calling non static instance actions, the property handle passed has to be at least selected..

  2. to list
  3. Execute source for database object handle
    logical DBFieldDef  :: ExecuteSource ( ACObject *obhandle, PropertyHandle &retval_ref, PropertyHandle *co )
    • obhandle - Database Object handle
    • retval_ref - Reference to return value property handle

      After returning from the function the retval_ref contains the function or action result.

    • co - Pointer to calling object property handle

      The calling object is a property handle, which refers to an instance or collection of instances. When calling non static expressions, a calling object is required. When calling non static instance actions, the property handle passed has to be at least selected..

  4. to list