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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

add text column to crosstab 1

Status
Not open for further replies.

espltd

Programmer
Apr 6, 2005
233
US
Hi just wondering how to add a descriptive text column to a crosstab? From the crosstab expert you can add columns from database fields but I did not see how to just add a column to place a text object in (for example to display descriptive information about the data like a row title).
Using Crystal Reports 10. Thanks.
 
I think in CR XII (2008) they add this capacity, but until then, you can create a formula:

whilereadingrecords;
"Row Title"

Add this as your Row#1 to the crosstab. I usually then select this field in preview->format field->text rotation: 90. Then I grab the cell boundary and make it narrow and center the text so that it runs vertically up the left margin. For column titles, you can do the same, but no need for rotation.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top