FieldsFromTokens Method

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

Applies to

IWPTextCursor

Declaration

void FieldsFromTokens(string StartText, string EndText, string FieldPreText);

Description

Create a merge template by conversion of specially marked fields, i.e [NAME] will be converted into «DB.NAME».

 

Alternatively You can use the Token To Template Conversion

 

Please also see Syntax Highlighting since it is possible to highlight fields while the user writes.

 

Tip: The method FieldsFromTokens does the same as "ReplaceTokens" in the VCL product WPTools.

 

Parameters

 

StartText - The field marker start, i.e. "["

 

EndText - The field marker end, i.e. "]"

 

FieldPreText  - The text which will be added at the beginning of each field, i.e. "DB.".

 

Category

Mailmerge


[idh_iwptextcursor_fieldsfromtokens.htm]    Copyright © 2007 by WPCubed GmbH