Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Immediate IF-- IIF()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Divers
Thread ID:
00842939
Message ID:
00843137
Vues:
24
OK,

The date in the SQL field is 1/1/1900. If I put in the following code, I get a response of 'hello':

IIF (date({criminal_complaint.tarrestdatetime})=date(1/1/1900),"__________" ,'hello')


If I put in this code, I get 1/1/1900.

IIF (date({criminal_complaint.tarrestdatetime})=date(1/1/1900),"__________" ,totext(date({criminal_complaint.tarrestdatetime}))


Anyone have an idea how to get this IIF() to work properly?

Thanks,


>Hello,
>
>I have a datetime field in a SQL database. If that datetime field has the SQL default of 01/01/1900 as the value, I want the Crystal report to display "__________." If that datetime field has a value other than the SQL default, I want the date to display.
>
>How do I code this in Crystal 9?
>
>Thanks,
>
>TFISHER
Thanks,

TFISHER
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform