RecordsetCursor methods syntax: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
m (Automatically generated page update)
 
Line 11: Line 11:
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%currentLockStrength</span><span class="literal"> =</span> <span class="term">recordsetCursor</span><span class="literal">:[[LoopLockStrength (RecordsetCursor property)|LoopLockStrength]]</span>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%currentLockStrength</span><span class="literal"> =</span> <span class="term">recordsetCursor</span><span class="literal">:[[LoopLockStrength (RecordsetCursor property)|LoopLockStrength]]</span>
<span class="term">recordsetCursor</span><span class="literal">:[[LoopLockStrength (RecordsetCursor property)|LoopLockStrength]]</span> <span class="literal">= </span><span class="term">newLockStrength</span></p>
<span class="term">recordsetCursor</span><span class="literal">:[[LoopLockStrength (RecordsetCursor property)|LoopLockStrength]]</span> <span class="literal">= </span><span class="term">newLockStrength</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%recordsetCursor</span><span class="literal"> =</span> <span class="squareb">[</span><span class="literal">%(RecordsetCursor In </span><span class="term">filOrGrp name</span><span class="literal">)</span><span class="squareb">]</span><span class="literal">:[[New (RecordsetCursor constructor)|New]]</span><span class="literal">(</span> <span class="term" title="Recordset">recordset</span><span class="comma">,</span>        -
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%recordsetCursor</span><span class="literal"> =</span> <span class="squareb">[</span><span class="literal">%(RecordsetCursor In </span><span class="term">filOrGrp name</span><span class="literal">):</span><span class="squareb">]</span><span class="literal">[[New (RecordsetCursor constructor)|New]]</span><span class="literal">(</span> <span class="term" title="Recordset">recordset</span><span class="comma">,</span>        -
                                               <span class="squareb">[</span><span class="literal" title="LockStrength">LoopLockStrength=</span> <span class="term" title="LockStrength">lockStrength</span><span class="squareb">]</span><span class="literal">)</span></p>
                                               <span class="squareb">[</span><span class="literal" title="LockStrength">LoopLockStrength=</span> <span class="term" title="LockStrength">lockStrength</span><span class="squareb">]</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%cursorState</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">recordsetCursor</span><span class="literal">:[[Next (RecordsetCursor function)|Next]]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="squareb">[</span><span class="term">%cursorState</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">recordsetCursor</span><span class="literal">:[[Next (RecordsetCursor function)|Next]]</span></p>

Latest revision as of 20:45, 30 November 2011

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

recordsetCursor:Close

%record = recordsetCursor:CurrentRecord[( [lockStrength], - [LoopLockStrength= lockStrength])]

%string = recordsetCursor:FileName

[%cursorState =] recordsetCursor:First

[%cursorState =] recordsetCursor:Last

%lockStrength = recordsetCursor:LockStrength

%currentLockStrength = recordsetCursor:LoopLockStrength recordsetCursor:LoopLockStrength = newLockStrength

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

[%cursorState =] recordsetCursor:Next

recordsetCursor:PAI

[%cursorState =] recordsetCursor:Previous

recordsetCursor:PrintAllInformation

%number = recordsetCursor:RecordNumber

%cursorState = recordsetCursor:State

%string = recordsetCursor:ToString