Pair.DBRow Property

<< Click to Display Table of Contents >>

Navigation:  Developer Edition > Visual Basic for Applications (VBA) > Object Model Reference > Pair Object > Properties >

Pair.DBRow Property

Previous pageReturn to chapter overviewNext page

Returns or sets the index for the row which contains the headers. Long value.

 

Syntax

expression.DBRow

expression. A variable representing a Pair object.

 

Example

This example defines the 3rd row as database heading.

 

With oProj.Pairs.Item(0)

   'row number of database heading

   .DBRow = 3

   'create primary key; column no. of source file

   .DBKeys = "2;3"

   'group records

   .DBoptions = DBOptionFlag_Group

End With