?
Solved

How to find if there is writing in a memo field?

Posted on 2011-02-18
1
Medium Priority
?
278 Views
Last Modified: 2013-12-25
I know I have a asked before but none of the help worked. So, I figure Maybe I wasn't clear. If I wasn't ,I apologize. My boss needs to know who answered (or wrote on) the field "MEMO". This is a questionaire one of the fields ask a question and you put the answer in a "MEMO" field. I also need to count how many questioned were answered. I used the SQL code I was giving and it did not work. Can I use something like:IIf( [memo] = 0 ,Answered,not answered).

0
Comment
Question by:gigifarrow
[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
1 Comment
 
LVL 22

Accepted Solution

by:
8080_Diver earned 1000 total points
ID: 34927071
Try checking the length of the memo field. If the length is zero (0) then thetre is no text in it.  Now, if someone enters some spaces, you could get fooled unless you also TRIM the database's column before checking the length (and, in any case, I would require a minimum of, say, 5 characters before I would call it "Answered" ;-).

 (By the use of the term "memo field", are you working against an Access database?)
0

Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
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 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…
Suggested Courses
Course of the Month11 days, 5 hours left to enroll

770 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