A
Arvi Laanemets
Hi
Why does the expression below return a type mismatch error, when at start
varTTL equals "N/S" or "N/A", and doesn't when it is some numeric string? Or
are in Iif() both expressions processed regardless what does condition
return?
varTTL = IIf(varTTL = "N/S" Or varTTL = "N/A", "Null", CInt(varTTL))
Why does the expression below return a type mismatch error, when at start
varTTL equals "N/S" or "N/A", and doesn't when it is some numeric string? Or
are in Iif() both expressions processed regardless what does condition
return?
varTTL = IIf(varTTL = "N/S" Or varTTL = "N/A", "Null", CInt(varTTL))