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

How to show first column on cross tab virtual page

Status
Not open for further replies.

Nyaguire

Programmer
Nov 22, 2006
3
ZW
I'm using a crosstab and wish to repeat the first column on the virtual page...I've been trying to follow some of the suggested solutions but have failed to group the columns.

I have tried to create a new group using a formula like:

if {EquityExposureList_2_ttx.Counter} in ["ABCH" ,"Kingdom"] then 1 else 2

But has given me an error message which reads "The formular must be string". How do you create a grouping function?? Can somebody Help Please?
 
What version of CR are you using? Do you mean you want to repeat the row labels on the virtual page? There is a setting for that "Repeat row labels" on the customize style tab.

-LB
 
I'm using crystal 8..I have tried the "Repeat row labels" option but it didn't work. Now I'm trying to group the function and then drag the cross tab in the group header/ footer. My problem is I can't get the grouping formular right.
 
Grouping has nothing to do with a row label on the virtual page. Are you trying to eliminate the virtual page?

-LB
 
Thanx for the help Lbass, I've managed to repeat the row labels on the virtual page, now I wish to create a cross tab showing percentages of the grant total. I'm using crystal 8, is that possible??
 
You need to create a SQL expression like {%grtot}:

(select sum(table.`amt`) from table)

Then create a formula {@percentgrtot}:

{table.amt} % {%grtot}

Add this formula as a summary in your crosstab and then in preview, select the summary and click on the % icon in the toolbar.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top