Problem with inputwindow
Posted: Sat Jul 18, 2015 4:07 am
Estimado Pablo,
con la versión de HMG 3.4.1 cambió el comportamiento de la funcion inputwindow en el caso de las fechas.
Con la versión anterior yo le pasaba el valor date() en el array Format para el caso del campo fecha y funcionaba correctamente, ahora se cae mostrando el siguiente error.
Date:18/07/2015 Time: 00:43:03
Error BASE/1070 Error de argumento: ==
Called from INPUTWINDOW(3491)
Called from EDITAR(137)
Called from (b)INV1400(134)
Bueno, cambié el argumento del format para el campo fecha y le puse "99/99/9999" y volví a compilar. Funciona bien excepto que no me permite cambiar la fecha y siempre me muestra "99/99/9999".
Ahora, si le cambio el argumento del array format a " ", me muestra el control fecha vacio que en cierta medida es correcto si el registro es nuevo, pero si en el arreglo aValues la fecha va con valor muestra igual el control vacio debiendo mostrar la fecha que le estoy pasando.
Estoy haciendo algo incorrecto?
Quedo atento a tus comentarios.
Te prepararé un ejemplo si es necesario.
Saludos cordiales,
Luis Vasquez.
Dear Paul,
HMG with version 3.4.1 changed the behavior of the function inputwindow in the case of dates.
With the previous version I was wrong value date () in the Format array for field case date and working properly now falls showing the following error.
Date: 07/18/2015 Time: 00:43:03
BASE Error / 1070 Argument Error: ==
Called from INPUTWINDOW (3491)
Called from EDIT (137)
Called from (b) INV1400 (134)
Well, I changed the format argument for the date field and put "99/99/9999" and compile again. It works fine except that I can not change the date and always shows me "99/99/9999".
Now, if I change the argument format array to "" shows me over empty date to some extent is correct if the record is new, but in the aValues settlement date will value shows just the empty control must show the date I'm going through.
Am I doing something wrong?
Stay tuned to your comments.
I'll make an example if necessary.
Best regards,
Luis Vasquez.
con la versión de HMG 3.4.1 cambió el comportamiento de la funcion inputwindow en el caso de las fechas.
Con la versión anterior yo le pasaba el valor date() en el array Format para el caso del campo fecha y funcionaba correctamente, ahora se cae mostrando el siguiente error.
Date:18/07/2015 Time: 00:43:03
Error BASE/1070 Error de argumento: ==
Called from INPUTWINDOW(3491)
Called from EDITAR(137)
Called from (b)INV1400(134)
Bueno, cambié el argumento del format para el campo fecha y le puse "99/99/9999" y volví a compilar. Funciona bien excepto que no me permite cambiar la fecha y siempre me muestra "99/99/9999".
Ahora, si le cambio el argumento del array format a " ", me muestra el control fecha vacio que en cierta medida es correcto si el registro es nuevo, pero si en el arreglo aValues la fecha va con valor muestra igual el control vacio debiendo mostrar la fecha que le estoy pasando.
Estoy haciendo algo incorrecto?
Quedo atento a tus comentarios.
Te prepararé un ejemplo si es necesario.
Saludos cordiales,
Luis Vasquez.
Dear Paul,
HMG with version 3.4.1 changed the behavior of the function inputwindow in the case of dates.
With the previous version I was wrong value date () in the Format array for field case date and working properly now falls showing the following error.
Date: 07/18/2015 Time: 00:43:03
BASE Error / 1070 Argument Error: ==
Called from INPUTWINDOW (3491)
Called from EDIT (137)
Called from (b) INV1400 (134)
Well, I changed the format argument for the date field and put "99/99/9999" and compile again. It works fine except that I can not change the date and always shows me "99/99/9999".
Now, if I change the argument format array to "" shows me over empty date to some extent is correct if the record is new, but in the aValues settlement date will value shows just the empty control must show the date I'm going through.
Am I doing something wrong?
Stay tuned to your comments.
I'll make an example if necessary.
Best regards,
Luis Vasquez.