?
Solved

Determining if ftMemo field is empty?

Posted on 2000-05-15
1
Medium Priority
?
392 Views
Last Modified: 2010-05-18
In D5, I create a table programmatically, with one column called SQL_CODE of type ftMemo.  I need to programmatically determine if the column if empty.  I have tried the following, and they do NOT work...

1).  if (Table1.FieldByName('SQL_CODE')).AsString.Lines.Count = 0 ...

2).  if (Table1.FieldByName('SQL_CODE')).Value.Lines.Count = 0 ...

3). if length(Table1.FieldByName('SQL_CODE')).Value) = 0 ...

Thanks
0
Comment
Question by:gspears060598
[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 10

Accepted Solution

by:
Lischke earned 200 total points
ID: 2811103
Use:

if Table1.FieldByName('SLQ_CODE').IsNull then

Ciao, Mike
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month15 days, 8 hours left to enroll

741 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