Returns or sets a semicolon delimited list of Column indices used as primary key for Database. String value.
expression.DBKeys
expression. A variable representing a Pair object.
The column no. of the primary keys of the Master file have to be entered, separated by semicolons.
To use the 2nd and 3rd column as primary key.
With oProj.Pairs(1)
'row number of database heading
.DBRow = 3
'create primary key; column no. of master
.DBKeys = "2;3"
'group records
.DBOptions(syDatabaseGroup) = True
End With