Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

This method indicates whether or not a record was found by a prior call to file.getRecord()file.positionTo()file.positionAfter(), or file.delete(searchArgument)

Return Value

A Boolean value indicating whether/not a record was found.

Examples

Conditional logic using record found state
pjs.defineTable("myfile", { keyed: true, read: true });
myfile.getRecord(100);
if (myfile.found())
  doSomething();

RPG Equivalent

%FOUND(file_name)

Requirements

This API requires the Profound.js Connector module.

  • No labels