Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending Only Am records to print
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00881148
Message ID:
00881153
Vues:
31
>Does anyone know an easy way to tell if a DateTime value is Am/PM. I need the option when using the report form to print command to limit the records sent to print for either AM or PM based on user choice.
>
>Thanks
>Kirk

Try
RIGHT(CONVERT( varchar(32), DateTimeField,109),2) = 'AM'
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform