CURSORGETPROP()

From Lianjapedia
Revision as of 10:17, 28 March 2017 by Yvonne.milne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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