Sorting(log.DATE)
Sorting(log.EVENT)
Sorting(log.*)
At first example of Sorting function the first record from Log that user will see will
be containing the smallest data, by smallest I mean that 2007/01/12 is smaller than
2007/01/14, because “2”(last digit) is smaller in ACSII enumeration then “4”. During
comparing values the first character is the most important. In second example first
will be displayed columns with “Treat” value and after that records with ”Weight”.
If you want to display data in order like it is in memory put a “*” instead of column
name.
Function Sorting may be used without Log, this function define actions taken when
buttons are pressed and it is usable even if user is operating only on Table.
The Log Rules
To enable Log in HHR:
1. Place “Log_true” in HEADER section.
2. Place LOG section with column definition.
3. In every function requiring column name place database identifier, a “.” and
column name.
Example:
HEADER
EXAMPLE 01a
2007/01/29
18.34.59
dd/mm/yyyy
hh:mm:ss
;
LOG_true
,
BT_false
END
TABLE
EID;A;1;1;1;#### ####;;
END
LOG
LEID;A;0;1;1;#### ####;;
EVENT;G;0;1;1;00;;
VALUE;S;0;1;1;##;;
TIME;T;0;1;1;000000000;;
DATE;D;0;1;1;0000000000;;
END
MACRO
begin_macro:VIEWLOG
begin_action_area
ReadSeek(table.EID)
D01B2.4 HHR 3000 PRO Manual
58/75