AddRow Property

Applies To
Grid

Description
Used to add a row to a Grid control during runtime.

Usage

GSet Form.Control.AddRow, value  
Form
Name of a form or string variable containing a form name.
Control
Name of a control or string variable containing a control name. The control must exist in the specified form.
value
Integer representing the index of the newly added row. Specifying “-1” causes the new row to be appended after last row. Otherwise, the new row is inserted at the specified row index.

See Also
Grid, RemoveRow, RowCount

Example

GSet frmMain.Grid01.AddRow, 0