display.found()



This method indicates whether the most recent call to display.grid.getRecord() found a record.

Return Value

A boolean value is returned. True indicates a subfile grid record was found and retrieved. False indicates the record was not found.

Example

// Get the third record display.grid.getRecord(3); if (display.found()){  // do something with found record, etc.   }


RPG Equivalent

%FOUND()