Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Number
Message
De
11/04/1998 08:48:16
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00090990
Message ID:
00091286
Vues:
22
>Hi John,
>
>As you suggested, I tried but it is not working, whenever I put
>correct date it gives error and If I put "15/15/98" or any invalid range,
>It is not giving any error, and control is still stand there. In both case control stands there. Where I was wrong ?
You cannot check for date validation in valid event. Valid event would fire when you enter a correct date (that's why you get message there) and as you return .f. control again has focus.
Put "set notify off" in form init, load, DE.beforeopentables etc (choose one) to supress system messages. In interactivechange event or keypress of date textbox check the date and prompt message as necessary (a date textbox wouldn't lose focus with an invalid date).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform