Quantcast
Channel: SCN : Unanswered Discussions - SAP Crystal Reports
Viewing all articles
Browse latest Browse all 4814

How to get column header value from Crosstab?

$
0
0

Hi,

 

I have created crosstab report now, I want to display last column header value into Group Header section. For this I had tried following logic

 

Create two formula field test1 and test2

 

test1 code:

     WhilePrintingRecords;

     Global dateTimeVar EEDate;

 

test2 code:

     WhileReadingRecords;

     Global dateTimeVar EEDate;

     EEDate := database.field

 

Now put test2 filed in detail section and test1 put in Group Header section. But didn't get correct value. I had also try to put test2 field into Group Footer section but the result is same.

 

I want to display 07/12/2014 as start date and 07/26/2014 as end date.

 

Crosstab.PNG

 

Can anybody help me please ?

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 4814

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>