BBjRecordSet::isScrollSensitive

Description

In BBj 15.0 and higher, this method returns a boolean value indicating whether this is a scroll-sensitive SQL BBjRecordSet (see BBjAPI::createSQLRecordSet).

Syntax

Return Value

Method

boolean

isScrollSensitive()

Parameters

None.

Return Value

Returns a boolean value indicating whether this is a scroll-sensitive SQL BBjRecordSet.

Remarks

Returns false if this is not an SQL BBjRecordSet, or if this is an SQL BBjRecordSet that did not set the scroll sensitive property to true on creation (see BBjAPI::createSQLRecordSet).

Example

rem ' BBjRecordSet::isScrollSensitive

database$ = "ChileCompany"
table$ = "ITEM"
user$ = "admin"
password$ = "admin123"
modes$ = "user="+user$+",password="+password$
select$ = "select * from "+table$
RecordSet! = bbjapi().createSQLRecordSet(database$,modes$,select$)
print "BBjRecordSet::getMode() = '",RecordSet!.getMode(),"'"
print "BBjRecordSet::getQuery() = '",RecordSet!.getQuery(),"'"
print "BBjRecordSet::getConnectString() = '",RecordSet!.getConnectString(),"'"
print "BBjRecordSet::isUpdatable() = '",RecordSet!.isUpdatable(),"'"
print "BBjRecordSet::isScrollSensitive() = '",RecordSet!.isScrollSensitive(),"'"

See Also

BBjAPI

BBjAPI::createSQLRecordSet

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.