Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Isn't this the same?
Message
Information générale
Forum:
Internet
Catégorie:
VBScript
Divers
Thread ID:
00426966
Message ID:
00427233
Vues:
20
>This works:
>
>If rsResults("GA")=0 Then
>   m_GA = ""
>Else
>   m_GA = ConvertNull(rsResults("GA"))
>End If
>
But this doesn't (Type mismatch error):
>
>m_GA = IIf(rsResults("GA")=0,"",ConvertNull(rsResults("GA")))
>
Anyone know why? TIA.

VBScript does not have a IIF() function.

Mike A.
Michael P. Antonovich, MCSD
Email: mike@micmin.com
MicMin Associates - Orlando, FL


Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform