Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

dynamic selection of values in list box against a button press

Is it possible to select a range of values in listbox against a button action.

Actually I have table as follows:

Perk Id

1

2

3

I want to select in two ways,

first selection 1-3 and second selection 1-2.I want to implement this with two buttons

action.On button1 selection the values from 1-3 will be highlighted and will be appeared in selection box.

pls help me.



12 Replies
Not applicable
Author

i think you can to it by bookmark. Or you want to do it by buttons?

Not applicable
Author

Hi chandan,

I think this application might help you.

Please have a look and make desired changes in your expression according to macro or buttons or whatever u need.

Not applicable
Author

OOPS chandan ,

I did a blunder,

Please use this application for multiple selection on Button press:

Anonymous
Not applicable
Author

Thank you its working.One more help plz.

Can you help me how to clear current selection in AsciiNum list box using macro.

Not applicable
Author

Can you make ur requirement a little bit clear.

Okie i am sending 1 more application,that is having buttons for clear and back.

U can use that one.

Please mark as answered if problem solved in community.

Not applicable
Author

Please find out the attached application and use clear and selection buttons .

Miguel_Angel_Baeyens

Hello,

Wouldn't it be easier to use a button with an action "Select in Field", and leave empty the "Search String" to clear one field selections?

Likewise, using the same action, but setting "Search String" as

>=1<=3


(or whatever values in the range) will perform better (and easier to maintain) than a macro.

Hope that helps.

montubhardwaj
Specialist
Specialist

Hi,

Please see the attched. This is with the reduced code and much simpler. Hope this is helpful for you.

montubhardwaj
Specialist
Specialist

I also like Miguel's idea.... that is very much simple and easy.You can try this as well.