SetViewArray()
This method is used to set the array data of the View:
SetViewArray(iForm InteractForm INOUT, arr DYNAMIC ARRAY OF HASHMAP)
Restrictions
- The SetViewArray() method will show an error if it is used in the View with the buffered mode. The SetViewCurrentRecord() method can be used in any mode;
- SetViewArray() will show an error if it is called for View with an embedded array variable. You have to use SetEmbeddedData() method instead;
- SetViewArray() will show an error if it is called for View with unbuffered mode, the related database table doesn’t have a Primary Key, and the input data has a different size than the origin. It means that the input data contains new rows or deleted rows, and it is not possible to analyze what rows exactly are deleted and what rows are new.