TableBox.AddRow

Syntax:

AddRow()

Description:

Adds a row in the table box, similar to the "Add" command.
If the table box is linked to a values table or tree, this method adds a row in the values table or tree, similar to the corresponding methods of these objects.
If a table box is linked to a list of objects that are stored in the database the method starts editing a new object of this list. (For example, objects list in the form of document or catalog list).
If a table box is linked to a record set or a tabular section the method starts editing a new record. (For example, records list in the form of information register list; document or catalog tabular section).

Availability:

Thick client.

Note:

If a table box is linked to a record set of information register new records can be outputted manually only if "Independent" write mode is specified for the register (specified during configuring). If a record set belongs to an accumulation register, or "Subordinate to recorder" write mode is set for information register you can not add manual records.

Example:

Controls.TableBox.AddRow();

    

1C:Enterprise Developer's Community