vbscript - Classic ASP Type Mismatch with If Then Statement -


Can anyone please tell me why this is a type mismatch using classic ASP error?

What to do if other content is finished "override content"> if (strPaidByPO = True) or (arrResult (0 ) = "1" ArrResults is an array and strPaidByPO is a variable.

Thanks,

Before if statement type the following (I think you can guess about the type).

  Call Response. TypeName (strPaidByPO) & amp; "& lt; br / & gt;") Answer a call. Type (arrResult) & amp; "& lt; br / & gt;") Answer Answer Flush ()   

If you want your variable type, you should get the following output

  Boolean Version ()   

You can also find if your array is multidimensional in which case you need to specify all the dimensions.

There is something other than typeName (arrResult (0)) in what other condition is arrResult (0) in string To check whether it is.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -