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?
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.
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.
Comments
under some circumstances could be bold or not (that I control with some
code) while the second field is always bold.
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com