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 7 Next »

This method returns the next changed record in a grid. The record data can then be accessed through global fields, a data structure, or a return value object.

Parameters

Data structure (optional) - A Profound.js data structure reference. If specified and a record is found, the referenced data structure will be populated with the record data. If not specified, the data is populated into global fields. 

Return Value

If a record is found, this method returns an object containing the fields in the matched record as properties. 

pjs.defineDisplay("display", "subfiled.json", { rrnFields: { sfl: 'RRN' } });
 
// Load subfile grid data here
 
display.ctl.execute();  // display control record
 
// Now process all subfile grid records changed by the user 
display.sfl.readChanged();
while (!display.endOfData()) {
  // Process changed subfile records here
  display.sfl.readChanged();
}

 

RPG Equivalent

READC

  • No labels