Solved

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

Posted on 2009-05-19
3
736 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
Comment Utility
Have a look at the following:

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


Gary
0
 

Author Closing Comment

by:LovinSpoonful
Comment Utility
Thanks
0
 
LVL 46

Expert Comment

by:tbsgadi
Comment Utility
Glad to help
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…

772 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

11 Experts available now in Live!

Get 1:1 Help Now