Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's best way to check for empty datetime field?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00220605
Message ID:
00220629
Vues:
24
>>>I thought EMPTY(ALLTRIM(mytable.mydatetime)) would work to check for an empty datetime field, but I guess I have to convert it first???
>>>
>>Try comparing the field to { }.
>
>Won't Empty(mytable.mydatetime) work?

EMPTY(mytable.mydatetime) should also work. You don't want the ALLTRIM function. It works on strings and a datetime value is not a string.
Steve Ruhl
CitiMortgage, Inc.
steven.ruhl@citibank.com Office
Steve@steven-ruhl.com Home
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform