Inserts blank records into the edit table.
Index = Send_Message(Ctrl, "OLE.InsertRecords", Record, Count) |
Parameter | Description |
---|---|
Record | Index to the record before which the new records will be added |
Count | Number of records to be inserted |
Index of the first inserted record.
The InsertRecords method inserts blank records into the edit table. The Record parameter is the index of the record before which the new records are to be inserted. To append new blank records to the end of the table, set the Record parameter to -1. The Count parameter indicates the number of blank records to inserted and must be greater than zero to have any effect.
// Insert 1 blank record before the second one Index = Send_Message(Ctrl, "OLE.InsertRecords", 2, 1) // Append 3 blank records to the end of the table Index = Send_Message(Ctrl, "OLE.InsertRecords", -1, 3) |