Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking a date for null value
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00122726
Message ID:
00122739
Vues:
16
>>How are you initializing the variable? It's probably not actually a date variable. Try initiazing it to {} before the user enters the date.
>>
>>>I have a local date variable that I want to check for spaces (user didn't enter a value for the variable) . When I put in the command
>>> if thisform.msdt = ctod(' / / ')
>>>I get an error message: operator/operand type mismatch. Why?
>>>
>>>Thanks
>
>ctod() expects a date. try ctod({ / / })

sorry -- today dyslexic.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform