Focal Point
[SOLVED] has anyone displayed a text string in " quotes?

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

November 17, 2014, 03:54 PM
Tomsweb
[SOLVED] has anyone displayed a text string in " quotes?
Has anyone displayed a text string in " quotes ?

Levi's jeans are available in colors "sky blue", "dark blue" or "black".

I've tried to code this with values per example below:

DEFINE FILE CAR
ACASE/A20 WITH COUNTRY = 'CASE_NAME';
BLANKS/A3 = ' ';
QTL/A1 = '"';
QTR/A1 = '"';
END

but I get unpredictable results.

Thanks!

This message has been edited. Last edited by: <Kathryn Henning>,


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
November 17, 2014, 04:07 PM
Waz
Where does it go wrong ?
Is it erroring ?
Whats the rest of the sample code ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

November 17, 2014, 04:08 PM
Y&Y
I might not understood it correctly ...
but what I have in my mind is :

DEFINE FILE CAR
ACASE/A20 WITH COUNTRY = 'CASE_NAME';
BLANKS/A3 = ' ';
QTL/A1 = '"';
QTR/A1 = '"';
QTN/A25 = '"' || CAR || '"';
END
TABLE FILE CAR
PRINT
ACASE
BLANKS
QTL
QTR
QTN
END
Will it work for your case?


WebFOCUS 8204 and older, iWay DataMigrator; Unix/Linux/Windows; Oracle 11g, DB2; SQL, PL/SQL, ETL
November 17, 2014, 04:17 PM
Tomsweb
quote:
I might not understood it correctly ...
but what I have in my mind is :

DEFINE FILE CAR
ACASE/A20 WITH COUNTRY = 'CASE_NAME';
BLANKS/A3 = ' ';
QTL/A1 = '"';
QTR/A1 = '"';
QTN/A25 = '"' || CAR || '"';
END
TABLE FILE CAR
PRINT
ACASE
BLANKS
QTL
QTR
QTN
END



I FIGURED OUT THE STUPID MISTAKE I MADE. Thakns !


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
November 17, 2014, 04:26 PM
Waz
Perhaps we were your "Ear on a stick".....


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!