Solved

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

Posted on 2011-02-18
1
277 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 250 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

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

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
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…
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…

690 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