Salesforce

General (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

General (Magic xpa 3.x)

The following properties appear in the General section when the Data View Editor is open:

Field Number

You can select a field from the Column Selection list by double-clicking on the Field Number cell. The field identification number is displayed. The Column Selection List lets you select multiple columns only when creating a new column for an Online task. No multi-marking is available when changing a column.

Field Description

Displays the column or field name, which can be modified when the value is Virtual or Parameter. Virtual and Parameter Field names can be blank.

Locate From - To

The Locate property enables you to locate a specific value according to a set expression. See also: Locate From - To.

Range From - To

Set a Range expression. See also: Range From - To

Actual Update Style

The values for the property are:

Absolute – A fixed value (FLD1=X).

Differential – Differential values. For example, you can update FLD1 by using the value FLD1+X (FLD1=FLD1+X).

As Table – Takes the update style from the Update Style property

This property is only enabled for the Numeric field type that has a normal storage type and relates to an SQL table. This property is enabled for Deferred and Nested Deferred mode task or to the Within Active Trans transaction mode task that evaluates to deferred in runtime. This is not relevant for ISAM files.

Init

An initialization expression that sets the value of the variable.

At runtime, Magic xpa evaluates the expression and assigns the resulting value as the initial value the variable will contain when it is created. The default value is 0, which means that there is no Init expression for this variable.

If the value is based on other variables, if will be recomputed for every modification of these variables.

The Init property is the way to assign a value computed by an expression to a variable in Magic xpa, just as you would assign a formula to the cell of a spreadsheet.

The Init expression does not need an '=' in it. The assignment is made implicitly by Magic xpa. For example, if you need to initialize the variable 'Order Sum' with 'Price * Quantity', specify the Init expression for the Virtual variable named Order Sum simply as 'Price * Quantity'.

See also: How Init Works and Automatic Non-Procedural Recomputing of Init Expressions

Reference
Attachment 
Attachment