Previous Document Next Document

Object Model Reference : Classes : D : DataField : Methods : DataField.Reorder


DataField.Reorder

Sub Reorder(NewIndex As Long)

Description

Member of DataField

The Reorder method reorders the position of a data field in the Object Data Manager docker by assigning a new index number to the data field.

Parameter
Description
NewIndex
Specifies the preset placeholder that uniquely identifies each data field

VBA example

The following VBA example moves the Comments field to the top of the list.

Sub Test()
 ActiveDocument.DataFields("Comments").Reorder 1
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.