Navigation:  Classes > bRecordGroup >

bRecordGroup:Goto()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Moves the record pointer in the data server to another record group item.

Class

bRecordGroup

Type

Method

Syntax

<oRecordGroup>:Goto(

<iOptions>,

[<uRecNo>],

[<uLevel>]

) Æ oRecordGroupItem

Arguments

<iOptions>The options that are to be used for moving the record pointer of the data server. The following options are supported:

 

Option

Description

BRGGO_FIRSTRECORDOFGROUP

The record pointer of the data server is moved to the first record group item of the record group.

BRGGO_FIRSTRECORDOFNEXTGROUP

The record pointer of the data server is moved to the first record group item of the next record group.

BRGGO_NOTIFYWHENRECORDCHANGED

Nachdem der Datenserver auf einen anderen Datensatz bewegt wurde, wird ein NOTIFYRECORDCHANGE an alle registrierten Clients des Datenserver geschickt.

BRGGO_PARENTRECORDOFGROUP

The record pointer of the data server is moved to the parent record group item.

BRGGO_PARENTRECORDOFNEXTGROUP

The record pointer of the data server is moved to the next parent record group item.

 

Data Type:DWord

 

<uRecNo>The record number of the record group item, from which the record pointer in the data server is to be moved. The current record number of the data server is used as default.
Data Type:Usual

 

<uLevel>The record group level for which the record group item is to be determined. The record group level of the parent record group item for the passed record number (see argument uRecNo) is used as default. In the argument can be passed either the number of the record group level or an object of the class bRecordGroupLevel.
Data Type:Int | bRecordGroupLevel

Return Value

oRecordGroupItemThe record group item to the record number on which the data server was moved. If the data server is on EoF, then the value NULL_OBJECT is returned.
Data Type:bRecordGroupItem

Description

bRecordGroup:Goto() moves the record pointer in the data server to another record group item and returns.

See Also

bRecordGroup:ItemList

bRecordGroup:LevelList

bRecordGroup:Server

bRecordGroupItem

bRecordGroupLevel

 


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