Solved

Memo field returning Null values

Posted on 2009-04-02
5
200 Views
Last Modified: 2013-12-25
I have an SQL query that pulls data from an ODBC connection to a system DSN I have set up.  Everything works fine until I try to add one more field.  The field is listed in the database schema as a 'text' field with a limit of 8001 char... so I am assuming it is like a Memo field in Access.  When I add that field, all the fields are returned as Null.  I know there is data in that field because I can query it in Crystal and get data, but when I use that same query in VB it comes back Null.  Help!
0
Comment
Question by:jmoran18251
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 

Author Comment

by:jmoran18251
ID: 24051163
500 points and a six pack?  I'm dyin' here...
0
 

Author Comment

by:jmoran18251
ID: 24051882
500 points and a twelve pack?!?!?!?
0
 
LVL 14

Accepted Solution

by:
rejoinder earned 500 total points
ID: 24056728
Have you tried to run the same select or query statement from SQL Query Anayzer?  It should return the same results as did Crystal.  If not, then we need to look at the select statement or the DNS connection you are using.
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 24067871
Please post your code and database version.
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 24067875
Also post the structure of your table.
0

Featured Post

Independent Software Vendors: 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 Vbscript  Issue 9 41
batch file or script 4 66
Access 2003, find all instances of database ODBC 3 48
Userform to show a range in excel. 3 33
Not long ago I saw a question in the VB Script forum that I thought would not take much time. You can read that question (Question ID  (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28455246.html)28455246) Here (http…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
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…

734 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