Mailmerge - how to preserve DisplayText property of ftFloat

  • I need to display a currency field, and have used the DisplayText of the field to properly show it in my programs.

    WPTools5 does not respect the setting however by default when inserting the field into the RTF document.

    The InputMergeField function comes undocumented with regards to this topic. The help-file nor the documentation show how to use the parameters. What is the meaning of the parameters and when are they relevant?

    • Offizieller Beitrag

    Hi,

    InputMergeField does currently NOT use the format integer. This value should be 0.

    You can format the string in any possible way by using the event OnMailMergeGetText. Simply assign the data string to Contents.StringValue (inside of this event). Use the parameter inspnam to get the data fro the field.

    Julian Ziersch