Solved

VB6 sp6, MS Access ADO:  Read a Memo field > 255 characters

Posted on 2009-05-19
3
751 Views
Last Modified: 2013-12-25
I have an Access table called ORACLEVIEWS, and a field called "ViewTables" that is a memo - up to 1500 characters.  When I query it, ADO cuts off the memo to 255 characters.  from the immediate window, when I type ? rstmp("ViewTables") it only gives me 255 characters.  How do I get the whole memo?
sSql = "SELECT * FROM ORACLEVIEWS"

   rsTmp.Open sSql, db, adOpenStatic, adLockReadOnly  

   If Not rsTmp.EOF Then 

      If rsTmp("View") <> "" And rsTmp("ViewTables") <> "" Then

 

         Debug.Print rsTmp("ViewTables")

Open in new window

0
Comment
Question by:LovinSpoonful
  • 2
3 Comments
 
LVL 46

Accepted Solution

by:
tbsgadi earned 500 total points
ID: 24430174
Have a look at the following:

http://allenbrowne.com/ser-63.html


Gary
0
 

Author Closing Comment

by:LovinSpoonful
ID: 31583244
Thanks
0
 
LVL 46

Expert Comment

by:tbsgadi
ID: 24534982
Glad to help
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

896 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

14 Experts available now in Live!

Get 1:1 Help Now