Solved

Determining if ftMemo field is empty?

Posted on 2000-05-15
1
372 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
1 Comment
 
LVL 10

Accepted Solution

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

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

Ciao, Mike
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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

932 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

13 Experts available now in Live!

Get 1:1 Help Now