Reading the merge fields from the document

    • Offizieller Beitrag

    Hi,

    You can use FieldGetList.

    This fills a list with references to fields which all start with
    a given text. The comarision is case sensitive! This list which will be filled must be created:

    list := TWPTextObjList.Create;

    procedure FieldGetList(
    list: TWPTextObjList; FromAllBlock: Boolean = FALSE;
    NameStartWith: string = '');