left
left

The left statement makes the previous field active in the active window.

Parameters

No parameters.

Description

This statement makes the previous field active in the active window. If the current window is the data sheet, the field before the currently active field will become the active field. If the first visible field is already active, this statement will do nothing. You can use this statement in conjunction with the info(“fieldname”) or info(“stopped”) functions to test to see if you are in the first field of the datasheet.

This example copies the data from the previous cell into the current cell.

    left
    if info("stopped")
        stop
    endif
    copycell
    right
    pastecell

See Also

- downrecord -- moves the cursor down one visible record.
- field -- tells Panorama to move to the specified field for the current record.
- firstrecord -- makes the first visible (selected) record in the database the active record.
- info("bof") -- returns true if the active record is currently on the first visible (selected) record.
- info("eof") -- returns true if the active record is currently the last visible (selected) record.
- lastrecord -- makes the last visible (selected) record in the database the active record.
- right -- moves the cursor to the next field in the active window.
- uprecord -- moves the cursor up one visible record.

History

Version | Status | Notes
10.0 | No Change | Carried over from Panorama 6.0.