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

Content Freeze

As of July 25th, 2023, there is a content freeze on this page.

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. If the data structure is not qualified, you must wrap the parameter with the pjs.ds() API.

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");
 
// 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