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

The value returned by this method can be passed to file.update() to control which fields are updated in the record. 

Parameters

Field name - this parameter can be repeated as many times as needed.

Return Value

A list of field names that can be passed as the last argument to file.update(). If the field list is not specified, all fields in the record are updated.

Example

Update selected fields only
var updateFile = pjs.defineTable("updateFile", { read: true, update: true });
updateFile.fetchNext();
field1 = 100;
field2 = 200;
updateFile.update("recName", pjs.fields(field1, field2));

RPG Equivalent 

%FIELDS()

Requirements

This API requires the Profound.js Connector module.

  • No labels