| DB Access Class Library for COBOL V1.0 API Reference - Microsoft(R) Windows(R) - - Microsoft(R) Windows NT(R) - - Microsoft(R) Windows(R) 2000 - |
Contents
Index
![]()
|
Chapter 6 DB Access Library API Reference
6.2 Methods
Returns information as to whether a recordset is updatable or read-only.
INVOKE RECORDSET-A "IS-UPDATABLE" RETURNING UPDATABLE.
RECORDSET-A [attribute:OBJECT REFERENCE FJDB-RECORDSET]
Specifies an object of the FJDB-RECORDSET class.
UPDATABLE [attribute:S9(9) COMP-5]
Returns a nonzero value if the recordset is updatable; if not, returns a value of 0.
Whether a recordset is updatable or read-only depends on the coding format of the SQL statement that is specified when the recordset is created and also on whether a read-only flag is set.
If the mode of entry of the SQL statement that is specified at recordset creation meets any one of the following conditions, then the recordset is not updatable:
Contents
Index
![]()
|