Navigation:  Classes > bRecordGroupItem >

bRecordGroupItem:Init()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Creates an object of the class bRecordGroupItem.

Class

bRecordGroupItem

Type

Method

Syntax

bRecordGroupItem{

<oParent>,

<oLevel>,

<iLevelNo>,

<uValue>,

<uRecNo>,

[<iOptions>],

} Æ oRecordGroupItem

Arguments

<oParent>The parent item for that the record group item is to be created. If for the argument iLevelNo the value 1 is passed then the parent item must be an object of the class bRecordGroup otherwise an object of the class bRecordGroupItem.
Data Type:bRecordGroup | bRecordGroupItem

 

<oLevel>The record group level for that the record group item is to be created.
Data Type:bRecordGroupLevel

 

<iLevelNo>The number of the record group level for that the record group item is to be created. The number defines the position of the argument oLevel in the access bRecordGroup:LevelList.
Data Type:Integer

 

<uValue>The group value of the record group.
Data Type:Usual

 

<uRecNo>The record number of the associated record in the data server for that the record group item is to be created. The data server is defined in the access bRecordGroup:Server.
Data Type:Usual

 

<iOptions>Options for controlling the record group item. The following options are supported:

 

Option

Description

BRGIO_NONE

No options are defined.

BRGIO_OPEN

If the option is defined and the record group item contains sub record group item then the item is shown as an open record group.

 

The value BRGIO_OPEN is used as default.

Data Type:DWord

Return Value

oRecordGroupItemThe created object of the class bRecordGroupItem.
Data Type:bRecordGroupItem

Description

bRecordGroupItem:Init() creates a new object of the class bRecordGroupItem and initializes it.

See Also

bRecordGroup:LevelList

bRecordGroup:Server

bRecordGroupItem:Level

bRecordGroupItem:LevelNo

bRecordGroupItem:Options

bRecordGroupItem:Parent

bRecordGroupItem:RecNo

bRecordGroupItem:Value

 


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