DeleteField Method

[Top]  [Chapter]  [Previous]  [Next]

Applies to



procedure DeleteField;


Use this method if you need to delete the field markers. If you delete the fields you cannot use the template for merging again. But if the inserted text contained fields those can be merged in a second round. If you insert a table (AddTable) DeleteField is required to avoid otherwise blank paragraphs which host the field markers.


Note: The markers are not deleted when you call this function but later when the field is processed and the data specified using StringValue is inserted.

[idh_iwpfieldcontents_deletefield.htm]    Copyright © 2007 by WPCubed GmbH