Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Isn't this the same?
Message
General information
Forum:
Internet
Category:
VBScript
Miscellaneous
Thread ID:
00426966
Message ID:
00427233
Views:
19
>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


Previous
Reply
Map
View

Click here to load this message in the networking platform