Jump to content
We've recently updated our Privacy Statement, available here ×

variable accepting more than one value


anushka

Recommended Posts

 Hello  All,

I have created a table where one of the columns is city and it has the following values like Dallas,California,Berlin,Washington. I want this line at the end of my report "This report consolidates data from the following cities:Dallas,California,Berlin,Washington".For this i have created a variable called AllCities and it has the following properties

Name: AllCities

Variable Class: java.lang.String

calculation:system

reset type:report

and this is the expression "This report consolidates data from the following cities:+$V(AllCities)" in summary of ireport

but on compiling i get the following output "This report consolidates data from the following cities:null"

 please tell me where i'm going wrong. Which other property has to be given for the variable AllCities

Thanks 

 

 

Link to comment
Share on other sites

  • 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...