[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

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

Posted on 2011-02-18
1
Medium Priority
?
280 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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

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…
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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

650 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