Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Memo field returning Null values

Posted on 2009-04-02
5
Medium Priority
?
205 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
  • 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 2000 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
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…
Suggested Courses

971 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