Was this helpful?
ArrayObject Methods
Method
Return Value
Description
Inherited From
AllRows()
integer
Returns the total number of rows in the array, including rows set to be deleted
Defined
Clear()
none
Removes all the rows in the array, including any marked deleted
Defined
Duplicate()
ArrayObject
Makes a duplicate of the object, placing a reference to the new object in a reference variable
Object
Find(
 [attributename = string,
value = expression] |
 [attributename = string,
 searchstring = string 
 [,format = string]
 [,casesensitive = integer]]
 [,rownumber =
 byref(integer_variable)]
 [,usedeleted = integer]
 [,startrow = integer]
 [,endrow = integer])
status
Finds an element of the array based on the contents of a single attribute of the array's class
Defined
FirstRow()
integer
Returns the number of the first row in the object (the row with the smallest sequence number)
Defined
GetAttribute
(
attributename = byref(variable)
{,attributename = byref(variable)})
integer
Gets the values of any number of attributes for the object
Object
InsertRow
([rownumber = integer]
[,rowobject = Object]
[,_rowstate = integer])
integer
Inserts a row into the array before the specified row number
Defined
IsA
(class =
classname)
integer
Returns TRUE if the object is of the same class as, or one of the subclasses of, the class specified by classname
Object
LastRow()
integer
Returns the number of the row with the highest sequence number in the array
Defined
RemoveRow
(rownumber =
integer)
integer
Permanently deletes the specified row from the array and from any table field using the array
Defined
SetAttribute
(
attributename = value
{,attributename = value})
integer
Sets any number of attributes for the object
Object
SetRowDeleted
(rownumber
= integer)
integer
Sets the _RowState attribute for the row to RS_DELETED and assigns the row a non-positive sequence number in the array
Defined
Sort
(
attributename = order
{, attributename = order})
integer
Sorts array objects on one attribute or a set of attributes
Defined
 
Last modified date: 12/20/2023