>Muy Buenos Dias.
>
>En un objeto textbox el controlsource="tabla1.fecha", eso quiero decir que mi campo a trabajar es de tipo "DATE".
>Cuando el campo esta en blanco y se le ingresa un dato erroneo como por ejemplo "solamente el dia" y se oprime la tecla ENTER,
>dicho objeto se bloquea, eso quiero decir que el proyecto no me deja ni siquiera salir del formulario en uso.
>
>¿Porque?
>En donde está el ERROR
>
>¿Que tengo que hacer?
>
>De antemano Muchas Gracias.
In the VALID of the textbox, RETURN 0 (not .f.) and present your own message
or
return .T. regardless and move the validation code from the textboxe's VALID to the LOSTFOCUS and then don't allow focus to move off the control if the date is invalid and display your own message.
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"