Recordset methods syntax

From m204wiki
Jump to navigation Jump to search

The syntax for each of the Recordset class methods is shown below.

Square brackets indicate optional elements of the method invocation. See also the notation conventions for methods and the List of Recordset methods.

recordset:AddRecord( record)

recordset:AddRecordset( inRecordset)

%outRecordset = recordset:AddRecordsetNew( inRecordset2)

recordset:AndRecordset( recordset2)

%outRecordset = recordset:AndRecordsetNew( recordset2)

recordset:Clear

%outRecordset = recordset:Copy[( [lockStrength], - [LoopLockStrength= lockStrength])]

%number = recordset:Count

%recordsetCursor = recordset:Cursor[( [LoopLockStrength= lockStrength])]

%outRecordset = recordset:DeepCopy[( [lockStrength], - [LoopLockStrength= lockStrength])]

[%number =] recordset:FastUnload( [Input=] input, [Output=] output, - [[Report=] report], [[Parameters=] string], - [AllMessages= boolean], [Asynch= boolean], - [Notify= boolean], [MaxTime= number])

%fastUnloadTask = recordset:FastUnloadTask( [Input=] input, - [[Parameters=] string], - [AllMessages= boolean], - [ReportToStringlist= boolean], - [MaxTime= number])

%boolean = recordset:IsEmpty

%lockStrength = recordset:LockStrength

%currentLockStrength = recordset:LoopLockStrength recordset:LoopLockStrength = newLockStrength

%recordset = [%(Recordset In filOrGrp name):]New[( [lockStrength], - [LoopLockStrength= lockStrength])]

recordset:RemoveRecord( record)

recordset:RemoveRecordset( recordset2)

%outRecordset = recordset:RemoveRecordsetNew( recordset2)

%string = recordset:ToString[( [MaxRecords= number])]