Re: RecordSet fails if a field is null ! - unspecified error '80004005'
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Thu, 1 Jun 2006 13:26:09 -0400
Richard Mueller wrote:
Hi,
I cannot duplicate the error. However, if the value of the field is
missing, the array that is returned by the GetRows method has a value
that is Null. That is, the following statement raises a type mismatch
error:
Wscript.Echo aryRows(0, 0)
because aryRows(0, 0) is null.
Yeah. You have to do:
Wscript.Echo aryRows(0, 0) & ""
I do not get an error on either theExactly. Which is why I asked him to verify which line was throwing the
Open or the GetRows methods. However, if no rows in the table match
my query (the id doesn't exist), I get an error raised on the GetRows
method - "Either BOF or EOF is True, or the current record has been
deleted". The only time I get an error on the Open method is if the
syntax of the SQL query is bad.
error.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
.
- References:
- Re: RecordSet fails if a field is null ! - unspecified error '80004005'
- From: Dan
- Re: RecordSet fails if a field is null ! - unspecified error '80004005'
- From: Bob Barrows [MVP]
- Re: RecordSet fails if a field is null ! - unspecified error '80004005'
- From: Troubled User
- Re: RecordSet fails if a field is null ! - unspecified error '80004005'
- From: Bob Barrows [MVP]
- Re: RecordSet fails if a field is null ! - unspecified error '80004005'
- From: Richard Mueller
- Re: RecordSet fails if a field is null ! - unspecified error '80004005'
- Prev by Date: Re: RecordSet fails if a field is null ! - unspecified error '80004005'
- Next by Date: Re: Drag and drop a URL from Internet Explorer
- Previous by thread: Re: RecordSet fails if a field is null ! - unspecified error '80004005'
- Next by thread: Re: RecordSet fails if a field is null ! - unspecified error '80004005'
- Index(es):