AddTransFieldAt(FieldNo As Integer) As Object

FormDef object

Creates a new empty transaction field Object, TransField, at the specified FieldNo in the form definition’s standard transaction description. FieldNo 1 is the first transaction field. If FieldNo is set to 0, the TransField is added as the first field. If FieldNo is less than 0 (for example -1), or if it is larger than the current number of transaction fields in the transaction description, the new field is added last.

The returned TransField object can be modified by using the Set... methods specified in the TransField object.

The FormDef object