Solved

Determining if ftMemo field is empty?

Posted on 2000-05-15
1
371 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
Comment Utility
Use:

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

Ciao, Mike
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This video discusses moving either the default database or any database to a new volume.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

772 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

10 Experts available now in Live!

Get 1:1 Help Now