addRecord

Description

Adds a new record

Usage

addRecord(formId, parentRecordId = NA_character_, fieldValues)

Arguments

ArgumentDescription
formIdthe id of the form to which the record should be added
parentRecordIdthe id of this record's parent record, if the form is a subform
fieldValuesa named list of fields to change