Description
Inserts a line before or after the specified line number.
Applicable Events
Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify
Syntax
object.InsertLine (vbInsertBefore, nLineNo)
Parameters
Object is a reference to the Zone object. For more information, see Zone Object (page Zone Object).
InsertLine is the command.
vbInsertBefore indicates if the line should be inserted before (vbTrue) or after (vbFalse) the specified line.
nLineNo indicates the line number that the new line should be inserted before or after.
Example
Set oLine = Zone1.InsertLine(vbFalse,1)
oLine.Value = "Line 2"
Zone1.AddLine.Value = "Line 3"
Zone1.InsertLine(vbTrue,1).Value = "Line before Line 1"