Field Loop Expression Tokens
Field loop expressions are expressions that can only be used within the context of a field loop and allow you to conditionally include or exclude code based on the attributes of the current field.
Field Loop Expression |
Description |
Data type is Alpha. |
|
The field has allow list values. |
|
The field has an alternate name specified. The <FIELD_ALTNAME> token will always return a value because if no alternate name is specified in the repository then it defaults to the fields real name. This token allows you to detect whether the alternate name is different from the real name. |
|
The field used to be part of an array with 1, 2, 3 or 4 dimensions. |
|
The field used to be the very first element of an array.
|
|
The field used to be part of an array with 1 dimension. |
|
The field used to be the very first element of an array with 1 dimension.
|
|
The field used to be part of an array with 2 dimensions. |
|
The field used to be the very first element of an array with 2 dimensions.
|
|
The field used to be part of an array with 3 dimensions. |
|
The field used to be the very first element of an array with 3 dimensions.
|
|
The field used to be part of an array with 4 dimensions. |
|
The field used to be the very first element of an array with 4 dimensions.
|
|
The field has an arrive method specified. |
|
The field is an auto-sequence field. The underlying storage is an I8. |
|
The field is an auto-time-stamp field. This expression will evaluate to true if the repository field is defined as type AutoTime (AT). The underlying storage is an I8. |
|
The field is an auto-time-stamp field AND is associated with a key segment that is defined as type AutoTime Created (C) . The underlying storage is an I8. |
|
The field is an auto-time-stamp field AND is associated with a key segment that is defined as type AutoTime Created (C) . The underlying storage is an I8. |
|
The field is a binary field. Binary fields are also alpha fields. |
|
The field should be displayed in bold. |
|
The fields data type is boolean. This only applies to fields whose actual Synergy data type is boolean, not to numeric fields with a coerced type of boolean. |
|
The numeric field should be displayed blank if the field value is zero. |
|
The field is a break field. This expression matches any type of break condition (change, always or return). |
|
The field is a break field. The break field logic always executes whenever the field is processed. |
|
The field is a break field. The break field logic only executes when the value of the field changes. |
|
The field is a break field. The break field logic only executes when the user presses RETURN on the field. |
|
The field has a change method specified. |
|
The field should be displayed as a check-box. |
|
The field data type is coerced to boolean. |
|
The field should be displayed as a combo-box. |
|
|
The field has a custom DBL data type specified via a special token. See <FIELD_CUSTOM_DBL_TYPE> for additional information. |
|
The field has a custom SQL data type specified via a special token. See <FIELD_CUSTOM_SQL_TYPE> for additional information. |
|
The f1eld has a custom conversion function specified via a special token. See <FIELD_CUSTOM_CONVERT_FUNCTION> for additional information. |
|
The f1eld has a custom string ion function specified via a special token. See <FIELD_CUSTOM_STRING_FUNCTION> for additional information. |
The field is a date. This includes all types of date and nullable date types. |
|
The field is a date, time, or nullable date or time. |
|
The date field should default to the current date. |
|
The field is a date or nullable date of type YYJJJ or YYYYJJJ. |
|
The field is a date or nullable date, but not a Julian date. It could be a reverse date or a period date. |
|
The field is a date, but not a nullable date. |
|
The field is a date or nullable date but not a period date. It could be a reverse date or a Julian date. |
|
The field is a date or nullable date, but is NOT a YYMMDD or YYYYMMDD date. |
|
The field is a date or nullable date, but is NOT a YYYYMMDD date. |
|
The field is a NULLABLE date. |
|
The field is a date or nullable period date (YYPP or YYYYPP). |
|
The field is a date or nullable date of type YYMMDD or YYYYMMDD. |
|
The field is a date or nullable date of type YYMMDD. |
|
The field is a date or nullable date of type YYYYMMDD. |
|
The field is a date or nullable date of type YYJJJ. |
|
The field is a date or nullable date field of type YYYYJJJ. |
|
The field is a date or nullable date of type YYPP. |
|
The field is a date or nullable datye of type YYYYPP. |
|
The field data type is decimal. Note that date, nullable date and time fields are NOT treated as decimal fields with this conditional test. |
|
The field has a default value specified. |
|
The field has a description specified. |
|
The field is defined as being initially disabled. |
|
The field has a display method specified. |
|
The field has a display length specified. |
|
The field has a drill method specified. |
|
The field should echo characters as they are typed. |
|
The field has an edit format method specified. |
|
The field is defined as being initially enabled. |
|
The field is an ENUM field. This is a real language enumeration, not a UI Toolkit enumerated field. |
|
The field has a UI Toolkit enumeration specified. This is not the same as being a real language ENUM field. |
|
|
The current field is an explicit group that was not expanded into individual fields. |
|
Explicit groups are not being expanded to individual fields (i.e. the -g e command line option is set). |
The field has a UI field position specified. |
|
|
The field is a segment in the structures first unique key. |
The field has a display format specified. |
|
|
The current field is an unexpanded implicit or explicit group. |
|
The current field is an unexpanded implicit or explicit group and has a member prefix specified. |
<IF GROUP_MEMBER_PREFIX_COMPILER>
|
The Synergy compiler uses the group member prefix? |
|
The current field is an unexpanded implicit or explicit overlay group. |
The field has a report heading specified. |
|
The field has a help identifier specified. |
|
The field has a hyperlink method specified. |
|
The field is an I1. |
|
The field is an I2. |
|
The field is an I4. |
|
The field is an I8. |
|
The field is an I1, I2 or I4. |
|
The field has information line text specified. |
|
Input should be performed center justified. |
|
Input should be performed left justified. |
|
Input should be performed right justified. |
|
The field data type is defined as integer. |
|
|
The current field is an implicit group that was not expanded into individual fields. |
|
Implicit groups are not being expanded to individual fields (i.e. the -g i command line option is set). |
|
The field is used as a segment in one or more access keys. |
The field is available to the language. |
|
The field has a leave method specified. |
|
|
The length of the field is over 8 characters. This expression is primarily useful when dealing with numeric fields because decimal fields with a length of up to 8 digits are mapped to an int, whereas fields 9 characters or longer are mapped to a long. |
The field has a long description specified. |
|
The field has a CodeGen field mapping specified. |
|
The fields’ parent structure has a CodeGen structure mapping specified. |
|
|
The field has a mapping function defined. |
|
The field allows linking by name. |
The field allows negative values. Use of this expression is only appropriate for numeric fields. |
|
The field allows negative values or a value of zero. Positive values are not allowed. Use of this expression is only appropriate for numeric fields. |
|
The field requires a negative value. Use of this expression is only appropriate for numeric fields. |
|
The field does not have allow list values specified. (Deprecated use <IF NOT ALLOW_LIST>.) |
|
The field does not have an alternate name specified. The <FIELD_ALTNAME> token will always return a value because if no alternate name is specified in the repository then it defaults to the fields real name. This token allows you to detect whether the alternate name is the same as the real name. . (Deprecated use <IF NOT ALTERNATE_NAME>.) |
|
The field does not have an arrive method.. (Deprecated use <IF NOT ARRIVE>.) |
|
The field id not a break field.. (Deprecated use <IF NOT BREAK>.) |
|
The field does not have a change method.. (Deprecated use <IF NOT CHANGE>.) |
|
The field should not be displayed as a check-box.. (Deprecated use <IF NOT CHECKBOX>.) |
|
The field data type is not coerced to boolean.. (Deprecated use <IF NOT COERCEBOOLEAN>.) |
|
The field does not have a default value.. (Deprecated use <IF NOT DEFAULT>.) |
|
The field does not have a description.. (Deprecated use <IF NOT DESCRIPTION>.) |
|
The field does not have a display method.. (Deprecated use <IF NOT DISPLAY>.) |
|
The field does not have a display length.. (Deprecated use <IF NOT DISPLAY_LENGTH>.) |
|
The field does not have a drill method.. (Deprecated use <IF NOT DRILL>.) |
|
The field should not echo characters as they are typed.. (Deprecated use <IF NOT ECHO>.) |
|
The field does not have an edit format method.. (Deprecated use <IF NOT EDITFORMAT>.) |
|
The field does not have a format string.. (Deprecated use <IF NOT FORMAT>.) |
|
The field does not have a help ID.. (Deprecated use <IF NOT HELPID>.) |
|
The field does not have a hyperlink method.. (Deprecated use <IF NOT HYPERLINK>.) |
|
The field does not have information line text.. (Deprecated use <IF NOT INFOLINE>.) |
|
The field is marked as “Excluded by Language”.. (Deprecated use <IF NOT LANGUAGE>.) |
|
The field does not have a leave method.. (Deprecated use <IF NOT LEAVE>.) |
|
The field does not have a long description specified.. (Deprecated use <IF NOT LONGDESC>.) |
|
The field does not allow negative values. This expression should only be used with numeric fields.. (Deprecated use <IF NOT NEGATIVE>.) |
|
The field does not have a custom paint character.. (Deprecated use <IF NOT PAINTCHAR>.) |
|
The field does not have a decimal precision specified (i.e. it is not an implied decimal field).. (Deprecated use <IF NOT PRECISION>.) |
|
The field does not have a prompt.. (Deprecated use <IF NOT PROMPT>.) |
|
The field does not have a numeric range specified. This expression should only be used for numeric fields.. (Deprecated use <IF NOT RANGE>.) |
|
The field is marked as “Excluded by ReportWriter”.. (Deprecated use <IF NOT REPORT>.) |
|
The field does not have selection list values.. (Deprecated use <IF NOT SELECTIONS>.) |
|
The field does not have a selection window name specified.. (Deprecated use <IF NOT SELWND>.) |
|
The field data type is not defines as Alpha.. (Deprecated use <IF NOT ALPHA>.) |
|
The field was not part of an array.. (Deprecated use <IF NOT ARRAY>.) |
|
The field is not a binary field. Binary fields are also alpha fields.. (Deprecated use <IF NOT BINARY>.) |
|
The field is not a boolean field.. (Deprecated use <IF NOT BOOLEAN>.) |
|
The numeric field should not be displayed as blank if the value is zero.. (Deprecated use <IF NOT BZERO>.) |
|
The field is not a date or nullable date.. (Deprecated use <IF NOT DATE>.) |
|
The field is not a date, nullable date or time.. (Deprecated use <IF NOT DATEORTIME>.) |
|
The date field should not default to the current date.. (Deprecated use <IF NOT DATETODAY>.) |
|
The field data type is not defined as decimal. Note that date, nullable date and time fields do not count as decimal with this conditional test.. (Deprecated use <IF NOT DECIMAL>.) |
|
The field is not a language ENUM field.. (Deprecated use <IF NOT ENUM>.) |
|
The field is not a UI Toolkit enumerated field.. (Deprecated use <IF NOT ENUMERATED>.) |
|
The field does not have an input timeout specified.. (Deprecated use <IF NOT TIMEOUT>.) |
|
The field data type is not defined as integer.. (Deprecated use <IF NOT INTEGER>.) |
|
The field is not used as a segment in any access key.. (Deprecated use <IF NOT KEYSEGMENT>.)
|
|
The field data type is not a numeric type.. (Deprecated use <IF NOT NUMERIC>.) |
|
The field is not an overlay field or overlay group.. (Deprecated use <IF NOT OVERLAY>.) |
|
The field is not a segment in the primary key.. (Deprecated use <IF NOT PKSEGMENT>.) |
|
The field should not be viewed as a collection of radio-buttons.. (Deprecated use <IF NOT RADIOBUTTONS>.) |
|
The field is not a struct field.. (Deprecated use <IF NOT STRUCTFIELD>.) |
|
The field is marked as “Excluded by Toolkit”.. (Deprecated use <IF NOT TOOLKIT>.) |
|
The field should not be converted to uppercase. Only appropriate for alpha fields.. (Deprecated use <IF NOT UPPERCASE>.) |
|
The field is not a user-defined field type.. (Deprecated use <IF NOT USER>.) |
|
The field does not have user text specified.. (Deprecated use <IF NOT USERTEXT>.) |
|
The field does not have a view length specified.. (Deprecated use <IF NOT VIEW_LENGTH>.) |
|
The field is not marked as a time field.. (Deprecated use <IF NOT TIME>.) |
|
The field is not a user-defined time-stamp field. (See <FIELD_SQLTYPE> for more information).. (Deprecated use <IF NOT USERTIMESTAMP>.) |
|
The field is marked as “Excluded by Web”.. (Deprecated use <IF NOT WEB>.) |
|
The field data type is defines as a numeric type. |
|
The fields Objective-C data type is a native type (e.g. int or BOOL). |
|
The fields Objective-C data type is an object type (e.g. NSString or NSDate). |
|
|
The field is the only segment in the primary key. |
The field is marked as optional (i.e. not required). |
|
The field is an overlay field or overlay group. |
|
|
The field has an overlay offset defined.
|
The field has a custom paint character specified. |
|
|
The field is a paint field. This means that characters will not be displayed, but rather the paint field character (default asterisk) will be displayed instead. |
|
The field has a PII_TYPE encoded into its long description or user defined text field. See <FIELD_PII_TYPE>. |
The field is a segment in the primary key. |
|
The decimal field has a precision specified (i.e. it is an implied decimal field). |
|
The field has a prompt specified. |
|
The field has a UI prompt position specified. |
|
The field should be viewed as a collection of radio-buttons. |
|
The field has a numeric range (minimum/maximum values) specified. |
|
The field state is specified as initially read-only. |
|
The field state is specified as initially writable. |
|
|
The field is associated with the only segment of a relations FROM key. In other words, there is a direct outbound relation from the field to another structure. |
|
There are more fields to be processed in the current field loop. This special token takes into account fields that have been excluded from processing in a SQL Replication environment by adding the text REPLICATOR_EXCLUDE to a fields long description or user defined text fields.
|
|
There are no more fields to be processed in the current field loop. This special token takes into account fields that have been excluded from processing in a SQL Replication environment by adding the text REPLICATOR_EXCLUDE to a fields long description or user defined text fields.
|
The field is available to ReportWriter. |
|
The field should be printed center justified on reports. |
|
The field should be printed left justified on reports. |
|
The field should be printed right justified on reports. |
|
The field is marked as required (i.e. must contain a valid value). |
|
The field should be displayed in reverse video. |
|
The field has one or more selection list values. |
|
The field has a selection window name specified. |
|
The field is a struct field. |
|
The field should be displayed as a text-box. |
|
The field is a time field of type HHMM or HHMMSS. |
|
The field is a time field of type HHMM. |
|
The field is a time field of type HHMMSS. |
|
The field has an input timeout specified. |
|
The time field should default to the current time. |
|
The field is available to UI Toolkit. |
|
The field content should be displayed underlined. |
|
|
The field has an unmapping function defined. |
The field value should always be converted to uppercase. |
|
|
The field is associated with a key segment that in turn is used in a relation. |
The field is a user defined field type. |
|
|
The field has a user-defined type string defined. |
The field has user text specified. |
|
The field has a view length specified. |
|
The field is a user-defined time-stamp field. (See <FIELD_SQLTYPE> for more information). |
|
The field is available to the web products. |
Copyright © 2021 Synergex International, Inc.