Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED]Unrecognized command "IN + 1"
Go
New
Search
Notify
Tools
Reply
  
[SOLVED]Unrecognized command "IN + 1"
 Login/Join
 
Member
posted
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
END

This message has been edited. Last edited by: <Emily McAllister>,


WebFocus 7703
Windows, All Outputs
 
Posts: 11 | Registered: November 09, 2012Reply With QuoteReport This Post
Guru
posted Hide Post
Never see it before.


WebFOCUS 8.1.05 / APP Studio
 
Posts: 272 | Location: Brazil | Registered: October 31, 2006Reply With QuoteReport This Post
Virtuoso
posted Hide Post
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
 
Posts: 1713 | Location: New York City | Registered: December 30, 2015Reply With QuoteReport This Post
Master
posted Hide Post
I'm assuming "IN" is an abbreviation for "INDENT".


App Studio
WebFOCUS 8.1.05M
Windows, All Outputs
 
Posts: 594 | Location: Michigan | Registered: September 04, 2015Reply With QuoteReport This Post
Expert
posted Hide Post
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.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6132 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
Member
posted Hide Post
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
 
Posts: 11 | Registered: November 09, 2012Reply With QuoteReport This Post
Master
posted Hide Post
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


App Studio
WebFOCUS 8.1.05M
Windows, All Outputs
 
Posts: 594 | Location: Michigan | Registered: September 04, 2015Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED]Unrecognized command "IN + 1"

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.