Empty := ISEMPTY;
ISEMPTY
Die Funktion ISEMPTY liefert TRUE, wenn die Record-Variable keine Datensätze enthält. Eventuelle gesetzte Filter werden berücksichtigt.
Beispiel
WITH SalesLine DO
BEGIN
RESET;
SETFILTER("Document Type",'%1',"Document Type"::Order);
SETFILTER("Document No.",'1010');
IF ISEMPTY THEN
MESSAGE('Die Tabelle ''%1'' ist leer.',TABLECAPTION);
END;