Navigation:  Classes > bBrowser >

bBrowser:InitRecordScope()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Determines the record number of the first, the last and the EoF record of the linked data server.

Class

bBrowser

Type

Method

Syntax

<oBrowser>:InitRecordScope(<iFlags>) Æ lSuccess

Arguments

<iFlags>The flags that indicates, which record numbers are to be determined. The following values are supported:

 

Flag

Description

BRS_FIRSTRECORD

Record number of the first record.

BRS_LASTRECORD

Record number of the last record.

BRS_EOFRECORD

Record number of the EoF record.

 

Several flags can be combined.

Data Type:DWord

Return Value

lSuccessA logical value that indicates whether the record numbers could be determined.
TRUEThe record numbers could be determined.
FALSEThe record numbers could not be determined.
Data Type:Logic

Description

The bBrowser uses the method bBrowser:InitRecordScope() to determine the record scope of the linked data server. The record scope is defined by the record number of the first, the last and the EoF record.

 

The record scope of data servers for DBF databases depends on

an active filter condition,

an active scope,

a selective relation or

a conditional order.

 

The method bBrowser:InitRecordScope() is called by the bBrowser in the following cases:

The bBrowser is linked with a data server by calling the method bBrowser:Use().

A record is deleted.

A new record is appended.

The bBrowser is refreshed by calling the method bBrowser:Refresh().

See Also

bBrowser:Refresh()

bBrowser:Use()

 


Page url: http://www.YOURSERVER.com/index.html?bbrowser_initrecordscope.htm