Solved

Determining if ftMemo field is empty?

Posted on 2000-05-15
1
383 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 50 total points
ID: 2811103
Use:

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

Ciao, Mike
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

728 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