Difference between revisions of "CURSORGETPROP()"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
|||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to return the current property settings for a table or cursor | Function to return the current property settings for a table or cursor | ||
− | |||
==Syntax== | ==Syntax== | ||
CURSORGETPROP(<expC> [, <workarea | alias>]) | CURSORGETPROP(<expC> [, <workarea | alias>]) | ||
− | |||
==See Also== | ==See Also== | ||
[[CURSORSETPROP()]], [[CURVAL()]], [[GETFLDSTATE()]], [[OLDVAL()]], [[TABLEREVERT()]], [[TABLEUPDATE()]], [[SETFLDSTATE()]] | [[CURSORSETPROP()]], [[CURVAL()]], [[GETFLDSTATE()]], [[OLDVAL()]], [[TABLEREVERT()]], [[TABLEUPDATE()]], [[SETFLDSTATE()]] | ||
− | |||
==Description== | ==Description== | ||
Line 17: | Line 14: | ||
====<expC>==== | ====<expC>==== | ||
− | {| class="wikitable" | + | {| class="wikitable" width="100%" |
− | !Value||Description | + | !width="30%"|Value||Description |
|- | |- | ||
|Buffering||Current Buffering setting | |Buffering||Current Buffering setting | ||
|- | |- | ||
|} | |} | ||
− | |||
====Return Value==== | ====Return Value==== | ||
− | {| class="wikitable" | + | {| class="wikitable" width="100%" |
− | !Value||Description | + | !width="30%"|Value||Description |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
− | | | + | |3||Optimistic row buffering is on. Note Lianja always sets buffering to 3. |
|- | |- | ||
|} | |} | ||
− | |||
==Example== | ==Example== | ||
<code lang="recital"> | <code lang="recital"> | ||
− | |||
− | |||
− | |||
open database southwind | open database southwind | ||
use customers | use customers | ||
− | + | ? cursorgetprop("Buffering") | |
− | + | 3 | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | [[Category: | + | [[Category:Cursor Functions]] |
− | + |
Latest revision as of 10:17, 28 March 2017
Purpose
Function to return the current property settings for a table or cursor
Syntax
CURSORGETPROP(<expC> [, <workarea | alias>])
See Also
CURSORSETPROP(), CURVAL(), GETFLDSTATE(), OLDVAL(), TABLEREVERT(), TABLEUPDATE(), SETFLDSTATE()
Description
The CURSORGETPROP() function can be used to return the current property settings for a table or cursor.
If the optional <workarea | alias> is specified, then the function will operate in the required location.
<expC>
Value | Description |
---|---|
Buffering | Current Buffering setting |
Return Value
Value | Description |
---|---|
3 | Optimistic row buffering is on. Note Lianja always sets buffering to 3. |
Example
open database southwind use customers ? cursorgetprop("Buffering") 3