Focal Point
Cannot get a skip line using -TYPE

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4491064791

November 20, 2006, 04:11 PM
Tomsweb
Cannot get a skip line using -TYPE
In WF DEV STUDIO (533) I cannot get a skip line using -TYPE

If I code:

-TYPE ACCOUNTING REPORT FOR &dept
-TYPE
-TYPE REPORT CREATED ON: &date

Any suggestions?

THNX
Frowner


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
November 20, 2006, 04:24 PM
TexasStingray
-SET &BLANK = '';
-TYPE &BLANK




Scott

-SET &SPACE = '&|nbsp;';
-TYPE ACCOUNTING REPORT FOR XXXXXX
-TYPE &SPACE
-TYPE REPORT CREATED ON: 99999999


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
-SET &SPACE = '';
-TYPE ACCOUNTING REPORT FOR XXXXXX
-TYPE &SPACE
-TYPE REPORT CREATED ON: 99999999

Doesn't do it.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
Interesting... How are you using the output from the -TYPE statements? The only place you would see them is in the view source from an html report unless you are HOLDing the report output somewhere.

Just wondering.


ttfn, kp


Access to most releases from R52x, on multiple platforms.
quote:
How are you using the output from the -TYPE statements

There are several reasons why I do this...

1. Like many of us here, I am a diehard old FOCUS coder. Back in that day I coded many
apps in dialogue manager.

2 Even now when I am debugging I want to do little things like skip lines to make my b4 and after test results a little more readable.

3. I am a little stubborn...I wanna control (Web)FOCUS, not let it control me. Smiler Wink


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
dont know if this is of any use. I had something similar..but instead of using the TYPE, I created a single field report with NOPRINT then created all the relevant text in a header. Foudn it easier to do all the styling I wanted on the final message.


81.05 All formats
Tom, I'm like you. Old time coder. I use the following:
-TYPE .
-TYPE . Message1
-TYPE .

You don't get a blank line, just a line the a single '.'. Hope this helps.