Re: ActualSize returns -1 for Text fields
- From: "Rod da Silva" <RodDaSilva@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 27 Sep 2005 00:46:54 -0400
Dan
Thanks for the response.
> Do you read that field multiple times?
No, not that I am aware of. As I said in my original post, I can get the
one query (that has the text field specified last) to work, but other
equivalent queries do not work. This seems to be the crux of the problem
(or bug). Have you seen this?
Has anyone out there have a table with more then one Text field? Seems to
me this problem would affect anyone with such a table that needed to run a
query that returned two or more of these fields.
> IIRC, using a server side cursor the
> first time you read the field ADO will then discard the underlying pointer
> to that text field, and all fields to the left of it in the recordset.
Then
> if you attempt to read the field or it's properties a second time it will
> appear as empty with a size of -1. I always read ADO recordsets from left
to
> write, and if I need to check the value of a field more than once then I
> read it into a variable, and use the variable for subsequent tests.
What exactly do you mean by "I always read ADO recordsets from left to
right"?
Thanks,
Rod
.
- Follow-Ups:
- Re: ActualSize returns -1 for Text fields
- From: Daniel Crichton
- Re: ActualSize returns -1 for Text fields
- References:
- ActualSize returns -1 for Text fields
- From: Rod da Silva
- Re: ActualSize returns -1 for Text fields
- From: Daniel Crichton
- ActualSize returns -1 for Text fields
- Prev by Date: Re: how to know wat is the data source name.
- Next by Date: Re: ActualSize returns -1 for Text fields
- Previous by thread: Re: ActualSize returns -1 for Text fields
- Next by thread: Re: ActualSize returns -1 for Text fields
- Index(es):
Relevant Pages
|
|