ACTION (alphanumeric)

Used only with paged grids, this special property causes the grid to invoke its paging logic in one of several ways. This simplifies the task of filling the grid with its initial data. After creating a grid, you would typically assign one of the following values to ACTION to load the initial page of data that the user will see. The values of the following are level 78 data names found in acugui.def:

ACTION-FIRST-PAGE (value 10)     Generates the grid's MSG-PAGED-FIRST event. This fills the grid with the first page of data from the data source.
ACTION-LAST-PAGE (value 11) Generates the grid's MSG-PAGED-LAST event. This fills the grid with the last page of data from the data source.
ACTION-CURRENT-PAGE (value 12) Empties the grid of any data except for column headers, and generates the grid's MSG-PAGED-NEXTPAGE event. If you position a data file using the START statement before performing this action, the grid will fill the page of data starting with the record selected by the START.
ACTION-PREVIOUS-PAGE     (value 14) Generates the grid's MSG-PAGED-PREVPAGE event. This fills the grid with the previous page of data from the data source.
ACTION-PREVIOUS (value 15) Generates the grid's MSG-PAGED-PREV event. This scrolls up to show the record before the first record of the grid's current data.
ACTION-NEXT (value 16) Generates the grid's MSG-PAGED-NEXT event. This scrolls down to show the next record after the last record of the grid's current data.
ACTION-NEXT-PAGE (value 17) Generates the grid's MSG-PAGED-NEXTPAGE event. This fills the grid with the next page of data from the data source.