Focal Point
[SOLVED] Concatenate & symbol with a string

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

December 10, 2009, 02:37 AM
Arun Philip R
[SOLVED] Concatenate & symbol with a string
Hi All,
I am trying to concatenate & symbol with a text, but i end seeing an error message "(FOC295) A VALUE IS MISSING FOR: &'O"
I tried using the '|' operator for doing this. Are there any solution to this? i tried searching in the site. Please help ASAP

This message has been edited. Last edited by: Kerry,


WebFOCUS 764
Windows XP
PDF
December 10, 2009, 04:15 AM
Danny-SRL
Arun,

An example:
  
-SET &S1='YEAR';
-SET &S2 = '&|' | &S1; 
-TYPE &S1 &S2



Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

December 10, 2009, 07:34 AM
Arun Philip R
Thanks Danny, but it didnt work. Still I am getting the same error.
This is what I am doing,
-SET &WFILE = 'T'&|'O Applications,''|-|'.PDF;
So i want the output to look like T&O Applications.


WebFOCUS 764
Windows XP
PDF
December 10, 2009, 07:54 AM
Arun Philip R
Hey Danny it worked, thanks alot. I took three variables for doing it. Used the thrid one to concatenate the strings and the symbol. Once again thanks for sparking the idea to me. Wink


WebFOCUS 764
Windows XP
PDF
December 10, 2009, 10:32 AM
Francis Mariani
-SET &WFILE = 'T&' | 'O Applications.PDF';

-TYPE &WFILE


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