Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Hide vba in gp 7 83
How to Add / Edit Windows Menu 4 51
Prevent user closing word document opened with VB6 6 67
SQl Server 2008 R2 - Case When Null still equals NULL 10 27
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…
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.
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…
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…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now