I have 2 list boxes Called Country and City.
Now when I select USA from Country ,can I have MA,CA,OH in state listbox displayed in a single line instead of 3 lines like MA,CA,OH ?
Maybe something like
=Aggr( Concat( DISTINCT State,', '), Country)
as list box field <expression> (enter expression from drop down field list), or changing dynamically
=If (GetSelectedCount( Country ) = 1, Aggr( Concat( DISTINCT State,', '), Country), State)
If you are looking to display it a horizontal listbox, then its not possible with the filter pane provided. You will have to make use of an extension to achieve this.
What is the purpose of this? If you concatenate them into one then you are not able to select individual state, is that OK.
You can try this in script like below
Concat(State, ',') AS StateCombined
Group By Country;
Like the attached one??
Please find the below attached .qvf file. hope this is your output. !
Retrieving data ...