Tengo un array con valores en mayusculas y minusculas
Quiero ordenar mi array sin tener en cuenta si el valor está en mayusculas o en minusculas y poder buscar en dicho array (Seek Incremental)
Al definir mi XBrowse con la claúsula AUTOSORT me ordena el array pero primero los valores con maysculas y despues los valores en minusculas (normal)
La solucion es ordenar el array antes:
- Code: Select all Expand view
ASort( aTabla,,, { | x, y | if( Lower(x[ 1 ]) < Lower(y[ 1 ]), .T., .F. ) } )
Mi pregunta: ¿como puedo implementar la busqueda incremental sin tener en cuenta si el valor está en mayusculas o en minusculas?
Google Translate
I have an array with values in case sensitive
I want to sort my array regardless of whether the value is in uppercase or lowercase and be able to search in that array (Seek Incremental)
By defining my xBrowse with clause autosort ordered me but first array values to uppercase and lowercase values after (normal)
The solution is to sort the array before:
- Code: Select all Expand view
ASort( aTabla,,, { | x, y | if( Lower(x[ 1 ]) < Lower(y[ 1 ]), .T., .F. ) } )
My question: how I can implement incremental search regardless of whether the value is in uppercase or lowercase?