Solved

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

Posted on 2009-05-19
3
775 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA/SQL - Connect to SQL server and pull data 4 132
Access 2013 combo box not working 3 57
Visual Studio search word table and return Cell index 8 74
Hide vba in gp 7 113
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

685 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