hello
Is it poseble to invert the header of the display statment?
without changing the DDM
insted of
abcd
1
2
3
it will be
dcba
1
2
3
Thanks
hello
Is it poseble to invert the header of the display statment?
without changing the DDM
insted of
1
2
3
it will be
1
2
3
Thanks
Yes.
When writing the display statement, instead of writing: “DISPLAY ddm-name” write: “DISPLAY ‘dcba’ ddm-name”
First, I thought of (PM=I) to invert the printing direction, (see [url]http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat422mf/parms/pm.htm#sp_pm[/url]), but when reading the document, I found out that this will only work on fields, not on headers. ![]()
To change the header, insert the new header just before the fieldname, as in
DISPLAY
'dcba' ABCD
or
define the header in DEFINE DATA
LOCAL
1 myview VIEW OF ddm
2 abcd (HD='dcba')
well the
DISPLAY
‘dcba’ ABCD
Solution was so obvious I forget to mention it.
I looked for some way to reduce typing…
the ( HD=‘dcba’) is a good one i’ll try it…
Thanks