You are here: Re: UBOUND « MsSQL Server « IT news, forums, messages
Re: UBOUND

Posted by Bill on 10/01/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 ***

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация