> I hear where you're coming from. I did verify I've got the right
> record. It gets stranger...
[quoted text clipped - 9 lines]
> end if
> and now the code all works correctly. Some kind of asp bug?

Signature
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.
Bob wrote on Wed, 23 Apr 2008 16:37:46 -0400:
>> I hear where you're coming from. I did verify I've got the right
>> record. It gets stranger...
>> I dropped debug Response.Write statement throughout the code. I did
>> the rs.Open on line 72. It was on line 420 that I checked the value
[quoted text clipped - 5 lines]
>> if rs.Fields("MyField") then end if and now the code all works
>> correctly. Some kind of asp bug?
> This is totally outside of my experience. It resembles the old ODBC bug
> with TEXT fields (http://www.aspfaq.com/show.asp?id=2188) where you
> needed to make them the last field in the select list in order to read
> their value (this bug did not appear in the OLE DB provider). as far as
> I know, that bug did not affect bit fields ...
It would affect bit fields (and any other types) if they were to the left of
the TEXT column, and you tried reading their value after reading the value
of the TEXT column as at this point all the columns to the left of the TEXT
column would have their values discarded.

Signature
Dan
Bob Barrows [MVP] - 02 May 2008 15:26 GMT
> Bob wrote on Wed, 23 Apr 2008 16:37:46 -0400:
>
[quoted text clipped - 21 lines]
> reading the value of the TEXT column as at this point all the columns
> to the left of the TEXT column would have their values discarded.
Ahh! Good point!

Signature
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"