Since Microsoft moved the IIF function into VB I use it a lot more often. If you recall, IIF(,,) used to be in a separate DLL that you had to ship back in VB3 (and I always forgot :-( )
IIF is also good when checking for NULL in database calls.
Thanks very much. I did not know that the IIF function was in VB. Use to use it in Access but never dawned on me it might be present/useful in VB. That is an excellent way to get rid of nulls.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.