ToString (RecordsetCursor function): Difference between revisions
Jump to navigation
Jump to search
m (Created page with "{{Template:RecordsetCursor:ToString subtitle}} <var>ToString</var> returns information (state, file name, record number, lock strength) about the <var>RecordSetCursor</var> objec...") |
m (→Examples) |
||
Line 20: | Line 20: | ||
==Examples== | ==Examples== | ||
The following output is produced by a <code>print %recsetCursor</code> statement | The following output is produced by a <code>print %recsetCursor</code> statement: | ||
<p class="output">State=HasRecord, Filename=MYPROC, RecordNumber=311, LockStrength=Share | <p class="output">State=HasRecord, Filename=MYPROC, RecordNumber=311, LockStrength=Share | ||
</p> | </p> |
Revision as of 21:16, 26 April 2011
Information about RecordSetCursor (RecordsetCursor class)
ToString returns information (state, file name, record number, lock strength) about the RecordSetCursor object to a longstring.
Syntax
%string = recordsetCursor:ToString
Syntax terms
%string | A longstring variable to receive the contents of the RecordsetCursor. |
---|---|
recordsetCursor | A RecordsetCursor object variable. |
Usage notes
- ToString can be applied implicitly: simply Print (or Audit) an object variable, and the ToString method is automatically applied to the object. That is:
print %recsetCursor
is equivalent to:print %recsetCursor:ToString
Examples
The following output is produced by a print %recsetCursor
statement:
State=HasRecord, Filename=MYPROC, RecordNumber=311, LockStrength=Share