Hello
1. The Memtable1.Filter property must contain a string expression.
2. The Memtable1.Filter property can contain only the names of the DataSet fields as variable values.
In your case, to display Nodes that do not have Child elements, you need to use the Memtable1.OnFilterRecord event and
the following expressions for the event handler:
Code:
procedure TForm1.MemTableEh1FilterRecord(DataSet: TDataSet;
var Accept: Boolean);
begin
if MemTableEh1.RecView.NodeHasChildren then
Accept := True
else
Accept := False;
end;