Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Select-options wrong range

Former Member
0 Likes
636

I build a select-option for a selection from a table.

If I give a range like 1 to 3 the selection returns all the values from 1 to 3 including all other values starting with 1 or 2. How can I prevent that?

1 ACCEPTED SOLUTION
Read only

matt
Active Contributor
0 Likes
507

You've defined your select option as a character type. If you choose A to B, you'll get AA, A3, A5, AZ and B. So, if you choose 1 to 3, you'll get 11, 13, 15, 1Z and 3.

You must define your selection option as a numeric or NUMC.

matt

2 REPLIES 2
Read only

matt
Active Contributor
0 Likes
508

You've defined your select option as a character type. If you choose A to B, you'll get AA, A3, A5, AZ and B. So, if you choose 1 to 3, you'll get 11, 13, 15, 1Z and 3.

You must define your selection option as a numeric or NUMC.

matt

Read only

Former Member
0 Likes
507

The problem is it is alphanumeric field it can also contain a range from A to C.