Yes there is a way to do this by using greater than (>), less than (<) and equal signs (=) in a script we can script to a range of numbers entered at the clock prompts and based on that assign a category. Below is an example based on the above question:
if (y >= 1000 and y <= 2000){category = "Warehouse"}
So in the example if at the y prompt some one enters a number equal to or greater than 1000 and equal to or lesser than 2000 it will change the category to "Warehouse".
You can also use it to reassign the y prompt as in the below example:
if (y >= 1000 and y <= 2000){y = "Warehouse"}
In the example if at the y prompt some one enters a number equal to or greater than 1000 and equal to or lesser than 2000 it will overwrite the original y prompt entry to "Warehouse".
|