Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I need to display all my current selection in a list box instead of using current selection object. Is this possible to achieve?
Regards,
Abha
May I ask what do you want to achieve, i.e. what is the use case behind that requirement?
You could use GetCurrentSelections() to e.g. print out current selections in a text box, if you just want a different kind of display.
I think it is quite hard to get the currently selected values of all fields in one listbox if possible at all, you could try playing around with GetCurrentSelections() and maybe subfield(), valuelist() functions etc. to create an appropriate expression for the list box (I think you get an expression in list box field section only since QV10), but I have no working solution in mind.
If you could tell us a little more what you want to achieve with that, what is not already possible with a Current Selection box, maybe someone has an idea to achieve this with something totally different.
Or maybe I have totally misunderstood your request.
Regards,
Stefan
He had the same problem and resolves after accessing the link below.
I hope that will help you too.
http://yahqblog.blogspot.com/2011/01/novel-bookmark-display.html # comments
Sincerely,
Gleybson Fernandes
Hi
The following attached file will be solve your problem.
you can acheive your solution using the variable in the listbox .
set the varible in settings ---> variable overview ---> Add
create variable and assign the following expression into your variable
your variable name = =GetCurrentSelections()
And then create listbox and in the listbox Field -->select Expression and add your variable you created.
doubt : refer this attached file
Regards
Ashok
Hi,
You can get the current selections by using the function
=GetCurrentSelections().
You can display this values by using the Text box.
Regards,
Jagan.