Browse Prior Art Database

Data Alignment Entry Field

IP.com Disclosure Number: IPCOM000120756D
Original Publication Date: 1991-Jun-01
Included in the Prior Art Database: 2005-Apr-02
Document File: 6 page(s) / 243K

Publishing Venue

IBM

Related People

Horton-Busboom, LJ: AUTHOR [+3]

Abstract

Described is an extension to a display data stream flowing between a host processor and a work station controller to add a new input field type for aligned data entry. This new input field type enables entry of decimal or otherwise aligned information using fewer keystrokes than is required in previously supported input field types. The data always remains horizontally aligned within the input field relative to the alignment character position.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 27% of the total text.

Data Alignment Entry Field

      Described is an extension to a display data stream
flowing between a host processor and a work station controller to add
a new input field type for aligned data entry.  This new input field
type enables entry of decimal or otherwise aligned information using
fewer keystrokes than is required in previously supported input field
types.  The data always remains horizontally aligned within the input
field relative to the alignment character position.

      The data alignment function is illustrated in Fig. 1. In this
example, the text cursor is initially located in the first position
of a numeric only data alignment field.  The alignment character is a
period and the alignment character position is the third field
position from the right.  The '@' character denotes entry field start
or end display attributes.  After the user types '75', the field
appears, as illustrated in Fig. 2.  The user then types a period,
which is the data alignment character.  This causes the data to
align, as illustrated in Fig. 3.  The user types '4', which is
entered in the field, as illustrated in Fig. 4. The user then presses
Field Advance to exit the field.  The application has specified that
the field will be zero- filled after the data alignment character, as
illustrated in Fig. 5.

      A data alignment field is made up of 2 logically independent
portions, whole number and fractional, which are separated by the
alignment character, as illustrated Fig. 6.

      Data stream extensions are required to enable the host
application to define data alignment entry fields.  The following
field characteristics must be defined, in addition to existing Start
of Field order functions:
   alignment character position within the field
-  list of valid data alignment characters (first character listed is
the default)
   fill options (i.e., blank, null, zero) for whole number portion of
the field
   fill options (i.e., blank, null, zero) for fractional portion of
the field

      The whole number portion of the field has the following
properties:
   Dup is not allowed in whole number portion of the field.
-  Valid data alignment character entry causes data to be
right-adjusted within whole number portion of the field and the
cursor to move to the leftmost position of the fractional portion of
the field.
   Cursor moves to data alignment position when a data character is
entered in the rightmost position of the whole number portion of the
field.
   Whenever the whole number portion of the field is exited, the
following actions occur:
     1.  The whole number data entered is right-adjusted within the
whole number portion of the field.
     2.  The whole number portion of the field is filled as specified
in the field definition.
     3.  The default data alignment character (first valid alignment
character listed in the field definition) is written in the alignment
character position.
  ...