Table topline clauseΒΆ

table_id->topline = int_expression

This clause may be used to change the top line displayed in a table. Line numbers start from 1. If the line is on the last page, the line will be brought into view but will not necessarily be displayed as the top line.

The clause may also be used to retrieve the current top line displayed in a table.

Note that if the table source object is a file, setting topline to n does not guarantee that the nth record in the file will be displayed. The selected record will be close to the nth record - the degree of closeness being relative to the number of records in the file. The table_get_key() function can be used to obtain the key values for the record whose values have been displayed in the top line.

NOTES

  • The scroll command has identical functionality to the topline clause.


EXAMPLES

Table1->topline = 20
MainTable->topline = tmp.NextLine
tmp.LineNo = CostTable->topline

RELATED TOPICS

Tables

table_set_key()