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

How do I make two db fields be alligned next to each other?

edited February 2005 in General
How do I make two db fields be alligned next to each other so that the
second field always starts after the first field where the first field is of
variable length?

For Example:


Comments

  • edited February 2005
    I forgot to mention that I cannot use a ppvariable since the first field
    under some circumstances could be bold or not (that I control with some
    code) while the second field is always bold.

  • edited February 2005
    Hi Andreas,

    1. Take a look at the Mail Merge feature of the TppRichText object. This
    will allow you to add fields to a RichText object and format them how you
    like. See the help topic for TppRichText in the ReportBuilder Help file for
    more information.

    2. You could use TppLabels or TppDBText objects and calculate the TextWidth
    of the first object either using the printer canvas or a screen canvas you
    create, then based on that number, position the next field appropriately.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

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