November 20, 2006, 04:11 PM
TomswebCannot 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
November 20, 2006, 04:24 PM
TexasStingray-SET &BLANK = '';
-TYPE &BLANK
Scott
November 20, 2006, 04:24 PM
Francis Mariani-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
November 20, 2006, 04:25 PM
Francis Mariani-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
November 20, 2006, 06:37 PM
PiipsterInteresting... 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.
November 21, 2006, 09:58 AM
Tomswebquote:
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.
Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
November 21, 2006, 11:06 AM
PBaxdont 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
November 22, 2006, 09:23 AM
jgelonaTom, 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.