Page 1 of 1
INPUTMASK en Browse
Posted: Thu Apr 30, 2009 4:23 pm
by claudiotedesco
Mi consulta es la siguiente, tengo un Browse y quisiera que el campo NOMBRE del archivo de clientes sea alfanumerico y de 30 posiciones, segun mi ejemplo funciona pero REPLICATE('A',30) solo me permite letras y no simbolos, probe con ! pero me pone todo en mayusculas y yo necesito mayusculas, minusculas y simbolos.
Les agradezco su ayuda
@ 10,10 BROWSE BrwClientes
HEADERS { 'Código' , 'Nombre del Cliente' } ;
WIDTHS { 100 , 350 } ;
WORKAREA Clientes ;
FIELDS { 'Clientes->codigo' , 'Clientes->nombre' } ;
INPUTMASK{'9999', REPLICATE('A',30)}
Re: INPUTMASK en Browse
Posted: Thu Apr 30, 2009 8:16 pm
by esgici
claudiotedesco wrote:Mi consulta es la siguiente, tengo un Browse y quisiera que el campo NOMBRE del archivo de clientes sea alfanumerico y de 30 posiciones, segun mi ejemplo funciona pero REPLICATE('A',30) solo me permite letras y no simbolos, probe con ! pero me pone todo en mayusculas y yo necesito mayusculas, minusculas y simbolos.
Les agradezco su ayuda
@ 10,10 BROWSE BrwClientes
HEADERS { 'Código' , 'Nombre del Cliente' } ;
WIDTHS { 100 , 350 } ;
WORKAREA Clientes ;
FIELDS { 'Clientes->codigo' , 'Clientes->nombre' } ;
INPUTMASK{'9999', REPLICATE('A',30)}
Google wrote:My query is as follows, I have a browser and would like the file name field is alphanumeric customers and 30 positions, according to my example works but Replicate ( 'A', 30) only allows me letters and no symbols, probe with! but I put everything in uppercase, and I need to uppercase, lowercase, and symbols.
Hola Claudio
In INPUTMASK "A" means "only uppercase characters" and "X" means "any character".
Please try to use "X" instead of "A".
Saludos
--
Esgici
Re: INPUTMASK en Browse
Posted: Mon May 04, 2009 12:00 pm
by claudiotedesco
HOLA
QUERIA CONFIRMAR QUE NO FUNCIONA "X" EN LUGAR DE "A". ME COLOCA TODAS XXXXXXXXXXXXX
ALQUIEN TIENE LA SOLUCIÓN A DICHO PROBLEMA
LES AGRADEZCO
Re: INPUTMASK en Browse
Posted: Wed May 06, 2009 2:15 pm
by Roberto Lopez
claudiotedesco wrote:HOLA
QUERIA CONFIRMAR QUE NO FUNCIONA "X" EN LUGAR DE "A". ME COLOCA TODAS XXXXXXXXXXXXX
ALQUIEN TIENE LA SOLUCIÓN A DICHO PROBLEMA
LES AGRADEZCO
From the HMG documentation:
Code: Select all
InputMask String (Numeric Textbox):
9 Displays digits
$ Displays a dollar sign in place of a leading space
* Displays an asterisk in place of a leading space
. Specifies a decimal point position
, Specifies a comma position
InputMask String (Non-Numeric Textbox):
9 Digits
A Alphabetic Characters
! Converts an alphabetic character to uppercase
(All other characters ar included in text in the position indicated by the mask)
So, this is not a problem. This behavior is by design.
I'll consider adding this feature for future versions.
Regards,
Roberto.
Re: INPUTMASK en Browse
Posted: Wed May 06, 2009 4:27 pm
by claudiotedesco
muchas gracias
Re: INPUTMASK en Browse
Posted: Fri May 08, 2009 11:31 am
by sudip
Hi,
Thanks a lot for INPUT MASK discussion. I learned a lot from this.
BTW, I thought this place is for Self Introduction for "New" members
With best regards.
Sudip