Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replacing VFP's Invalid Date message
Message
De
26/06/2006 14:59:24
 
 
À
26/06/2006 14:09:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01131737
Message ID:
01131801
Vues:
29
Put this in the valid:
TRY
  LOCAL ldDate
  ldDate = DATE(YEAR(This.Value), MONTH(This.Value), DAY(This.Value))
CATCH
  MESSAGEBOX("Invalid Date")
ENDTRY
>Thanks Craig,
>
>that stops the message displaying, but how do I trap for an invalid date and display my own message?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform