Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

[ Image Removed |../../index.htm#lansa/mulb8_0015.htm]
You are here:

...

The SREV

...

Anchorkanchor4kanchor4The SREV field attribute is provided to assist the collating sequence of bi-directional data stored in database files.

It indicates that the field's contents should be reversed as it crosses the interface between an RDML application program and a database I/O module or *DBOPTIMIZE generated inline I/O logic.

This means that everywhere the field is referenced at the RDML (or programmer) level it is in a reversed format to what it is at the I/O level or the database level.

The following should be noted about using this attribute:

...

  • File and dictionary level validation checks may need to reference the field in reversed format.
  • User defined virtual code.
  • Avoid giving fields that have the SREV attribute default values that are directional in nature. A field's default value has a dual role at the RDML level and at the I/O level. Where a field's default value has a directional content, there will almost certainly be a conflict that may produce strange or unexpected results.
  • The SREV attribute can only be applied to alphanumeric fields.

...

  • .

...