Thanks Larry. I knew it had to be something stupid. Better late than never but now I have to write a lot If...Else...End If. I have to check 54 values this way!!!
>Unlike VFP, VBSCript (and VB for that matter) evaluates both expressions in an IIF() (even if the first is already foound to be true). Once they are both evaluated, then the appropriate one is performed. However, by that time, it could already have caused an error.
>
>FWIW, VB 7 is supposed to stop after it finds the first true expression (as VFP does now).
It's "my" world. You're just living in it.