Formatting question
I'm working with a RTF memo in a report and I need to establish some
columns.
If I place a field on top of the RTF can I anchor the field to that place in
the document so as the upper text changes due to imbedded field values the
columns will move up or down?
If I place the fields into the RTF and make the line Courior New, when
working with the formatted numeric fields (formatfloat) the fields don't
expand to their max width and the columns don't line up. Such as
formatfloat('###,##0',12) yields '12' and not ' 12'. Any suggestions
about this?
Either of these methods would work but I don't yet know enough about FR3 to
figure this out? Thanks.
columns.
If I place a field on top of the RTF can I anchor the field to that place in
the document so as the upper text changes due to imbedded field values the
columns will move up or down?
If I place the fields into the RTF and make the line Courior New, when
working with the formatted numeric fields (formatfloat) the fields don't
expand to their max width and the columns don't line up. Such as
formatfloat('###,##0',12) yields '12' and not ' 12'. Any suggestions
about this?
Either of these methods would work but I don't yet know enough about FR3 to
figure this out? Thanks.
Comments
If you don't want to change the position of a field in your report, change the property ShiftMode to smDontShift.
To the second question,: If you want to have a space before the number, I guess you should add it in the field-definition before the formatfloat:
_[formatfloat('###,##0',12)]
hth
Sascha