Link to home
Start Free TrialLog in
Avatar of lunchbyte
lunchbyte

asked on

ADO recordset does not return all column values


Hello EE

I use stored procedure to select a record that consists of at least 40 columns and two of them are text as datatype. I noticed that when I read the recordset in VB6, some of the fields are blank but it has values in the database. If I do not include the two text columns, I get all the results I need. It appears to have some kind of limit in ADO recordset in VB6 because I get the results I need in Query Analyzer. How I get around this in VB6?

Thanks


Avatar of leonstryker
leonstryker
Flag of United States of America image

You should conver the data to Varchar in your final select.

Leon
Avatar of lunchbyte
lunchbyte

ASKER

What if it exceeds 8,000 characters.
ASKER CERTIFIED SOLUTION
Avatar of leonstryker
leonstryker
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That was the keyword I need to do my research on. Thanks.
No problem, thanks for the grade,

Leon