I have a customer´s table with column customer_name and I need get a foundset with all customers whose name is between 2 values : customer_from and customer_to (both global text variables filled using a valuelist on this table), so I do the following :
var customers = databaseManager.getFoundSet(‘infocom’,‘customers’)
customers.find()
customers.customer_name=‘#’+ globals.customer_from+’ …'+globals.customer_to
if (customers.search() == 0)
I have found that, when globals.customer_from contains a dot character, the search fails and returns 0 records; I suposse it is related to the 3 dots used for indicate a range of information.
We can not ask the user to use customer names without dots inside it.
ANyone faced this situation ? Any workaround suggested ?