Purpose
Determines the record number of the first, the last and the EoF record of the linked data server.
Class
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
lSuccess | A logical value that indicates whether the record numbers could be determined. |
TRUE | The record numbers could be determined. |
FALSE | The 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
Page url: http://www.YOURSERVER.com/index.html?bbrowser_initrecordscope.htm