Re: ADODB Recordset / Text field bug...
- From: Blue Streak <rdlebreton@xxxxxxxxxxx>
- Date: Fri, 08 Jun 2007 10:44:08 -0700
On Jun 8, 12:58 pm, "Bob Barrows [MVP]" <reb01...@xxxxxxxxxxxxxxx>
wrote:
Blue Streak wrote:
This is driving me nuts!!! I have one text field and one varchar
field in my SELECT statement (SELECT * FROM Table...)
http://www.aspfaq.com/show.asp?id=2096
and only the
first line is returning a value from the recordset. For the sake of
this example fieldA is text and fieldB is varchar(250).
So, are we to assume that you are using SQL Server? It appears to be based
on the datatypes. What version of SQL?
I have the statements:
rs("fieldA").Value - I get the value from here
rs("fieldB").Value - This is blank (when I *know* there is data in
it!)
I try it again as:
rs("fieldB").Value - This returns a value
rs("fieldA").Value - This is blank
If I have an Int field or anything else like, rs("IntField").Value, it
returns a value like it should no matter where the line is. However,
it is not true for a text field.
Is this a known bug?
Is there a patch / workaround for this?
What the FUDGE is going on here!?!
Yes, it's a known bug, and it's related to your use of selstar, and, as
seems likely, your use of ODBC. Seehttp://databases.aspfaq.com/database/how-do-i-deal-with-memo-text-hyp...
andhttp://www.aspfaq.com/show.asp?id=2126
--
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"- Hide quoted text -
- Show quoted text -
Thx.
FYI, I am using MDAC 2.8 and MSDE 2000.
.
- References:
- ADODB Recordset / Text field bug...
- From: Blue Streak
- Re: ADODB Recordset / Text field bug...
- From: Bob Barrows [MVP]
- ADODB Recordset / Text field bug...
- Prev by Date: Re: ADODB Recordset / Text field bug...
- Next by Date: Finding the lowest OU a user is in
- Previous by thread: Re: ADODB Recordset / Text field bug...
- Next by thread: send mail resolving exchange address list
- Index(es):
Relevant Pages
|