Navigation:  Classes > bBrowser >

bBrowser:GoTo()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Position the linked server to the specified record.

Class

bBrowser

Type

Method

Syntax

<oBrowser>:GoTo(

<nRecNo>,

[<lCheckForValidRecNo>]

[<iSelectFlags>]

) Æ lSuccess

Arguments

<nRecNo>The record number on that the data server is to be positioned.
Data Type:Integer | Float

 

<lCheckForValidRecNo>Logical value that defines whether the specified record number is to be examined. It is examined whether the record number in the linked data server existed and whether on it can be positioned. If the record does not exist or because of an active filter, scope, index or the setting of SetDeleted() the record could not be shown in the browser then dependent on the setting bBrowser:IsSkipEoFEnabled() the data server is positioned either on EoF or on the last record. If the argument is not specified then FALSE is used as default.
Data Type:Logic

 

<iSelectFlags>The flags that indicate, how the selected cells and rows are to be processed. The following values are supported:

 

Flag

Description

BPF_SELECTCLEAR

The entire selection is removed.

BPF_SELECTCLEARSINGLE

The selection in the current cell is removed.

BPF_SELECTSINGLE

The new cell is selected.

BPF_SELECTNOCHANGE

The selection is not changed.

Several flags can be combined. As default the flags BPF_SELECTCLEAR + BPF_SELECTSINGLE are used.

Data Type:DWord

Return Value

lSuccessA logical value which indicates whether the server was positioned.
TRUEThe server was positioned.
FALSEThe server could not be positioned.
Data Type:Logic

Description

bBrowser:GoTo() position the linked server at the specified record and show the records in the browser.

 

An active edit is closed before. If it is not possible also positioning is canceled.

See Also

bBrowser:GoBottom()

bBrowser:GoTop()

bBrowser:Skip()

 


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