Link to home
Start Free TrialLog in
Avatar of gspears060598
gspears060598

asked on

Determining if ftMemo field is empty?

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
ASKER CERTIFIED SOLUTION
Avatar of Lischke
Lischke

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial