Table Related System Attributes: Difference between revisions
Jump to navigation
Jump to search
m (order change, created headings) |
mNo edit summary |
||
Line 15: | Line 15: | ||
<br> | <br> | ||
=== TableColumns === | |||
R | R | ||
Line 32: | Line 30: | ||
*implied <br>eg: a sort column attref in a sort knows the target table even though that table hasn't been directly specified in that attref | *implied <br>eg: a sort column attref in a sort knows the target table even though that table hasn't been directly specified in that attref | ||
<br> | |||
=== TableRows === | |||
R | R |
Latest revision as of 22:28, 4 January 2009
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