I am trying to update an old report and I found the command "IN + 1" as you see below.
Someone knows what does this command do?
TABLE FILE HOLD1 PRINT FRS_SEQ AS 'SEQNO' ITEM_NO AS 'PARTNO' IN +1 ITEM_DESC AS 'DESC' IN +1 BY FRS_LINE NOPRINT ENDThis message has been edited. Last edited by: <Emily McAllister>,
WebFocus 7703 Windows, All Outputs
January 12, 2016, 10:43 AM
Ricardo Augusto
Never see it before.
WebFOCUS 8.1.05 / APP Studio
January 12, 2016, 11:30 AM
BabakNYC
This is syntax that forces the placement of the field +n spaces to the right of the last one. It works in fixed format outputs like FORMAT WP or PDF, or old green screen Mainframe reports.
In WebFOCUS you can experiment with the syntax using this code:
TABLE FILE CAR PRINT CAR IN +50 BY COUNTRY ON TABLE PCHOLD FORMAT PDF END
WebFOCUS 8206, Unix, Windows
January 12, 2016, 11:37 AM
Squatch
I'm assuming "IN" is an abbreviation for "INDENT".
App Studio WebFOCUS 8.1.05M Windows, All Outputs
January 12, 2016, 04:00 PM
Waz
Yes, the "more mature" members of the forum will remember it.
And from what I have seen, it is ignored when you use CSS classes for styling
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
January 14, 2016, 10:18 AM
Petter
Thank you everyone!! It was in fact a syntax that forces the placement of the field +n spaces to the right of the last one
WebFocus 7703 Windows, All Outputs
January 14, 2016, 10:21 AM
Squatch
More information about "IN":
IN nn Place field starting in column nn
IN +n Place field n columns past previous field
IN -n Place field n columns before end of previous field