May 08, 2008, 11:11 AM
Fernandocolumn 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
May 08, 2008, 11:32 AM
Darin LeeNot 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.
May 08, 2008, 11:35 AM
Leahquote:
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?