Skip to content

Autoback Field Property

Obsolete

This option is obsolete. This field property is valid only in character-mode DataFlex. There is no Windows equivalent for this option.

See Also

Purpose

To cause the cursor to move from the first position in the item to the previous item when the left arrow or Backspace key is pressed.

Syntax

set field_options field
file.field
to dd_autoback

or

entry_item
file.field
{autoback}

What It Does

Autoback is used on a set field_options or entry_item command line. When the cursor is in the first position in an item connected to a field having the option and the left arrow or Backspace is pressed, the cursor will move to the last position in the previous item.

entry_item customer.address {autoback}

In this example, if the left arrow is pressed when the cursor is in the first position in the item addressing Field address in File customer, it will move back to the last position in the previous item.

Notes

  • If autoback is in force on the first item in a DEO and the left arrow or Backspace accelerator key is pressed when the cursor is in the first position of that item, the cursor will move as though the key assigned to kswitch_back had been pressed.

  • Autoback behavior is different from pressing Previous Item. When Previous Item is pressed, the cursor goes to the first position of the previous item, while autoback places the cursor at the last position.