| 
 Posted by Bill on 07/07/68 11:32 
It looks like the arr data type is not  being seen as an array. 
 
To debug add  
 
response.write("<br>Var type of arr: " & Vartype(arr) ) 
 
before the if Ubound(arr) line. 
 
It should tell you what it sees as 'arr's variable type. 
 
Go to http://www.devguru.com/technologies/vbscript/13986.asp to find 
what each vartype means. 8192 would be array type 
 
Hope this helps 
 
Bill 
 
PS the previous respondant is right you would get a better response 
from a VBScript news board 
 
 
On Sat, 19 Nov 2005 13:11:07 GMT, Eugene Anthony 
<solomon_13000@yahoo.com> wrote: 
 
><% if UBOUND(Arr) > 0  then%> 
> 
><% end if %> 
> 
>I am getting the following error: 
> 
>Error Type: 
>Microsoft VBScript runtime (0x800A000D) 
>Type mismatch: 'UBOUND' 
> 
>How do I solve the problem. Your help is kindly appreciated. 
> 
>Eugene Anthony 
> 
>*** Sent via Developersdex http://www.developersdex.com ***
 
[Back to original message] 
 |