Jump to content

Recommended Posts

Posted

 Hi All

 

I am facing a peculiar problem

 

I have following data in DB

 

Code      Month   Country

A1                         01               India

A1                         02                          Pakistan

A1                         04                          Finland

A1                         05                          Japan

B1                       03                              USA

 

Now I want the report as below

 

Code              Jan               Feb                Mar                             Apr          may

A1                   India           Pakistan                                          Finland       Japan

B1                                                                 USA

 

 

Issue is it taking the month as May   and not printing other values

Code              Jan           Feb      Mar      Apr          May

A1                                                                                                                 Japan

 

 

I am currently using the variable condtion as $F{Month}.equals( "05" ) ? $F{Country}:"". I am also using Group expression as Code. Is there any other way to handle the same

 

Thanks

Titty 

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...