Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP3.0b: Editing Date Fields
Message
 
À
09/01/1997 21:25:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00016490
Message ID:
00016989
Vues:
85
>>Thanks for your advice. The VFP internal date check still occurs before the Valid event.
>>
>>Remember, I am not treating the date field as a character field. It is a date field which is why VFP seems to edit it before the Valid
>>event.
>>
>
>you might want to use the spndate control I posted on the September Issue of the VFUG newsletter
>
>Arnon

I tried a modified version of the old FPW method of doing this and it still works.

In the init method of the object:
SET NOTIFY OFF
ON READERROR Wait Window *MyDateMessage*

In the Destroy method of the object:
ON READERROR

Invalid dates produce MyDateMessage

The help text on readerror says Included for backward compatability, use the Valid method of the Object. (if it would let us !)
Glenn
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform