|
Go
![]() |
New
![]() |
Search
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Silver Member |
Hi,
I have the following situation: field1 is xxxxxxx and field2 is xxxxxxxxx, I want to concat them but leave multiple spaces i.e. 10 spaces between the two fields. I have tried this sort of solution: FIELD1 || (' ' | FIELD2) But it does not work. I also cannot use the following option as the output is not HTML: -SET &SPACE='&|nbsp;&|nbsp;&|nbsp;&|nbsp;&|nbsp;&|nbsp;&|nbsp;&|nbsp;&|nbsp;'; Does anyone know of a way around this? Thanks! 7.6.2 Windows HTML, PDF and Excel |
||
|
|
Expert |
This appears to work in WF 5.3.2 and WF 7.6.5:
FILEDEF H01 DISK TESTFM/H01.WP
-RUN
TABLE FILE CAR
PRINT
COMPUTE TEST1/A100 = MODEL || (' ' | COUNTRY);
ON TABLE HOLD AS H01 FORMAT WP
END
-RUN
Francis Env 1: WebFOCUS 5.3.2 Servlet - MRE/BID/Self Service/ReportCaster - MS Windows Server 2003 - IIS/New Atlanta ServletExec - MS SQL Server 2000 - DataMigrator 5.3.4 Env 2: WebFOCUS 7.6.5 Servlet - MRE/BID/Self Service - MS Windows XP SP2 - Apache Tomcat/5.5.25 - MS SQL Server 2000 Env 3: WebFOCUS 5.3.3 CGI - Self Service - AIX 5.2 - IBM DB2 Output formats: HTML, Excel 2000 and PDF |
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|

