makemergeformula
makemergeformula
TEMPLATE
,
DATABASE
,
FORMULA

The makemergeformula statement makes a formula from a template.

Parameters

This statement has three parameters:

template – Text of template.

database – Database formula will be used in.

formula – Output formula.

Description

This statement makes a formula from a template. Within the template you can place fields inside « and » characters and formulas inside { and } characters. Unlike the FormulaMerge statement, the formula is not evaluated.

    local LetterFormula
    makemergeformula |||Dear «Name», I will visit you in {sandwich("",City,", ")+State}|||,
        "List",LetterFormula

The result, in LetterFormula, will look like this:

    {Dear }+«Name»+{, I will visit you in }+sandwich("",City,", ")+State+{}

See Also

- formulamerge -- merges data into a template.
- makemergeformula( -- builds a formula from an “auto-wrap" style merge template.

History

Version | Status | Notes
10.0 | No Change | Carried over from Panorama 6.0.