Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have 2 list boxes Called Country and City.
Country
USA
India
State
MA
CA
OH
Delhi
MAH
Kar
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)
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)
Hi Pavana,
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.
Thanks,
Sangram
Hi,
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
Data:
LOAD
*
FROM DataSource;
StateCombined:
LOAD
Country,
Concat(State, ',') AS StateCombined
RESIDENT Data
Group By Country;
Regards,
jagan.
PFA
Like the attached one??
Hi,
Please find the below attached .qvf file. hope this is your output. !