Solved

ADO recordset does not return all column values

Posted on 2006-06-16
5
315 Views
Last Modified: 2012-08-13

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


0
Comment
Question by:lunchbyte
  • 3
  • 2
5 Comments
 
LVL 29

Expert Comment

by:leonstryker
Comment Utility
You should conver the data to Varchar in your final select.

Leon
0
 
LVL 5

Author Comment

by:lunchbyte
Comment Utility
What if it exceeds 8,000 characters.
0
 
LVL 29

Accepted Solution

by:
leonstryker earned 500 total points
Comment Utility
Then you will need to use ADO Stream object to return tht data.

Leon
0
 
LVL 5

Author Comment

by:lunchbyte
Comment Utility
That was the keyword I need to do my research on. Thanks.
0
 
LVL 29

Expert Comment

by:leonstryker
Comment Utility
No problem, thanks for the grade,

Leon
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now