Record methods syntax

From m204wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The syntax for each of the Record 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 Record methods.

%outRecord = record:Copy[( [lockStrength], [LoopLockStrength= lockStrength])] Throws RecordLockingConflict

%record = [%(Record In filOrGrp name):]CurrentRecord[( [lockStrength], - [LoopLockStrength= lockStrength])] Throws RecordLockingConflict

%outRecord = record:DeepCopy[( [lockStrength], - [LoopLockStrength= lockStrength])]

%string = record:FileName

%boolean = record:IsUpdated

%lockStrength = record:LockStrength

%currentLockStrength = record:LoopLockStrength record:LoopLockStrength = newLockStrength

%fileRecord = [%(Record In filOrGrp name):]New( number, [lockStrength], - [LoopLockStrength= lockStrength]) Throws RecordLockingConflict

%groupRecord = [%(Record In filOrGrp name):]New( number, string, - [lockStrength], - [LoopLockStrength= lockStrength]) Throws RecordLockingConflict

record:PAI

record:PrintAllInformation

%number = record:RecordNumber

%string = record:ToString

%doc = record:ToXmlDoc[( [AttributeValues= boolean], - [AttributeNames= boolean], [NamesToLower= boolean], - [AllowUnreversible= boolean], - [CodepageTable= boolean], [Base64Encode= boolean], - [CharacterMap= characterToUnicodeMap], - [AllowNull= boolean])] Throws CharacterTranslationException