Difference between revisions of "CURSORSETPROP()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
| Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
| − | Function to | + | Function to define current property settings for a table or cursor |
==Syntax== | ==Syntax== | ||
| − | CURSORSETPROP() | + | CURSORSETPROP(<expC>, <expN> [, <workarea | alias>]) |
| Line 12: | Line 12: | ||
==Description== | ==Description== | ||
| + | The CURSORSETPROP() function can be used to define 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>==== | ||
| + | {| class="wikitable" | ||
| + | !Value||Description | ||
| + | |- | ||
| + | |Buffering||Current Buffering setting | ||
| + | |- | ||
| + | |} | ||
| + | |||
| + | |||
| + | ====<expN>==== | ||
| + | {| class="wikitable" | ||
| + | !Value||Description | ||
| + | |- | ||
| + | |1||Row and table buffering off (default) | ||
| + | |- | ||
| + | |2||Pessimistic row buffering on | ||
| + | |- | ||
| + | |3||Optimistic row buffering on | ||
| + | |- | ||
| + | |4||Pessimistic table buffering on | ||
| + | |- | ||
| + | |5||Optimistic table buffering on | ||
| + | |- | ||
| + | |} | ||
Revision as of 12:14, 22 August 2011
Purpose
Function to define current property settings for a table or cursor
Syntax
CURSORSETPROP(<expC>, <expN> [, <workarea | alias>])
See Also
CURSORGETPROP(), CURVAL(), GETFLDSTATE(), OLDVAL(), TABLEREVERT(), TABLEUPDATE(), SETFLDSTATE()
Description
The CURSORSETPROP() function can be used to define 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 |
<expN>
| Value | Description |
|---|---|
| 1 | Row and table buffering off (default) |
| 2 | Pessimistic row buffering on |
| 3 | Optimistic row buffering on |
| 4 | Pessimistic table buffering on |
| 5 | Optimistic table buffering on |
Example
Products
Recital, Recital Server