Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Fields

edited October 2003 in General
Instead of use a datapipeline?s field, i want to put a memo in my
report, and the text of this memo would be something like:

[Query1."NAME"]

is this possible?

Marcelo

Comments

  • edited October 2003
    Hi Marcelo,

    The best way to get data into a report is by using a datapipeline. You
    could hook a datapipeline up to your query and display the NAME field in a
    DBMemo component. Let me know if I'm not understanding what you are trying
    to accomplish.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2003
    ok, but i want to put 2 or 3 fields in the same memo.

    it works using a RichEdit, and property MailMerge to true.

    thanks


  • edited October 2003
    Hi Marcelo,

    Unfortunately DBMemo components can only hold only one field. As an
    alternative, you might try placing multiple DBTexts/DBMemos inside a
    TppRegion with the KeepTogether property set to true. This may give you the
    results you are after.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2003
    OR,

    use a RichEdit with mailmerge option -> true?

    Marcelo

  • edited October 2003
    Hi Marcelo,

    Yes, you could possibly use the RichText Mail Merge feature to do this,
    however I'm not sure you are going to get the output display you desire.
    Try it and see how it goes. If you need an example of using the Mail Merge,
    please see demo number 28 (dm0028.pas) located in the
    \RBuilder\Demos\Reports\...directory.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.