Setting numeric attributes consists of the following activities:
Note: For information on numeric functions, see the Toolset Help.
You can set numeric attributes for entity views used in repeating group views to explicit indexing expressions. You must have previously set the group view to explicitly indexed in View Maintenance when you set its cardinality. A numeric attribute of an entity view can be set to:
The SET statement in the following example sets a numeric attribute to an expression used to reference an explicitly indexed repeating group view:
SET work index TO SUBSCRIPT OF screen_group + 1
The SET statement in the following example shows an expression for a numeric attribute built directly in the Action Diagram syntax:
SET product sales_tax TO (price * .06)
The SET statement in the following example sets a numeric attribute to a number:
SET new number TO 12
A numeric view is a component of an entity view. A numeric view sees an attribute that is defined as numeric. The SET statement in the following example sets a numeric attribute to a numeric view by finding the value of customer number and copying it:
CREATE customer SET number TO input customer number
|
Copyright © 2014 CA.
All rights reserved.
|
|