Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Una pregunta Tecnica
Message
De
07/04/2010 14:40:59
 
 
À
07/04/2010 12:24:54
Luis Parada
Prosoft´s de Venezuela, C.A.
Valencia, Vénézuéla
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01459177
Message ID:
01459234
Vues:
81
This message has been marked as the solution to the initial question of the thread.
>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"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform