Table Related System Attributes
Jump to navigation
Jump to search
Table Related System Attributes
Relating to the currently-referenced table in a routine operation.
Name
Read / Write
Description
TableColumns
R
This gives access to the column count for the table being referenced by the overall attribute reference.
The advantage is that they can be used directly in a row or column index without having to use a separate temporary attribute and a separate routine line to set it.
These attributes can determine a table from:
- direct references within an attref;
- dynamic table references;
- item table references (if item is available);
- implied
eg: a sort column attref in a sort knows the target table even though that table hasn't been directly specified in that attref
TableRows
R
This gives access to the row count for the table being referenced by the overall attribute reference.
The advantage is that they can be used directly in a row or column index without having to use a separate temporary attribute and a separate routine line to set it.
These attributes can determine a table from:
- direct references within an attref;
- dynamic table references;
- item table references (if item is available);
- implied
eg: a sort column attref in a sort knows the target table even though that table hasn't been directly specified in that attref