Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Field as Column Title

Status
Not open for further replies.

webfocusraj

Programmer
Aug 24, 2003
14
0
0
US
Hi,
I want to place a database field as the column title. (this is bcoz the title is dynamic). How can I do that in WF 521?
Thanks in advance
-WFRAJ
 
It sounds like you may want to make that field an ACROSS field.

TABLE FILE CAR
SUM
DEALER_COST
BY
COUNTRY AS ' '
ACROSS
BODYTYPE AS ' '
END

Does this help?
-Michael
 
Hi Michael,
I should have mentioned it, my report doesn't use any sorting. Thats the requirement.
Here, the report displays the values of a field say 'xyz', but, the column title for that column should be a different database field.
Thanks Michael
-WFRaj
 
It is possible to use heading as title.

TABLE FILE CAR
HEADING
&quot;<COUNTRY<CAR&quot;
PRINT MODEL AS ' '
SEATS AS ' '
ON TABLE SET STYLE *
TYPE=HEADING,HEADALIGN=BODY,$
ENDSTYLE
END

this works fine in my report.
 
If the column is for field XYZ, and you want the column title to say something else, you can always change the column title using an 'AS' phrase.

If you have no sorting, and you want the column title to be a field value, then WHICH value would you like (assuming there's more than one)?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top