Focal Point
column title in heading not the value

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

May 08, 2008, 11:11 AM
Fernando
column title in heading not the value
  
METADATA
FIELD=CAR, TITLE='My Car is', ...

TABLE FILE CAR
PRINT
CAR
HEADING
"CAR field TITLE is <CAR"
END


Above is an example that shows a report
containing one field and a heading.

The field appears with the title "My Car is" from the metadata as it should.

In the heading "CAR field TITLE is JAGUAR" appears as it should since the value of the field car from the first record is used.

I want to display "CAR field TITLE is My Car is" where it is picking up the field title not the field value.

How would I display the title and not the value in the heading?

Fernando


Prod WF 8.1.04, QA WF 8.2.03, Dev WF 8.2.03
May 08, 2008, 11:32 AM
Darin Lee
Not a way to do that by reading the CAR file. You can read the CAR master as a file - someone out there has previously posted code for parsing a master file - but when you read CAR, the only place the actual column TITLE will appear is as a column heading. It can't be placed in a heading because it is metadata, not data.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
May 08, 2008, 11:35 AM
Leah
quote:
I want to display "CAR field TITLE is My Car is" where it is picking up the field title not the field value.


Is this because you want to do so for more than one field? Don't recall ever seeing a question like yours before. I'd ask what purpose is it to server?


Leah