Inline Text Formatting
Hi
I am having a problem with formatting text when printing reports.
I have a landscape report with multiple fields that need to be displayed, but I have 1 field with text that is just too long to be displayed inline. I cannot use word wrap as that makes the report uneven as not every field needs to be printed in double lines.
In Delphi I would usually use the simple LeftStr() function and specify how many characters I want displayed, is there a way to use a function like this for the reporting as well?
I have formatted the Dates on the report with no problem, but text does not provide any functionality as I need to simply display the first 30 characters of the string for instance?
I am having a problem with formatting text when printing reports.
I have a landscape report with multiple fields that need to be displayed, but I have 1 field with text that is just too long to be displayed inline. I cannot use word wrap as that makes the report uneven as not every field needs to be printed in double lines.
In Delphi I would usually use the simple LeftStr() function and specify how many characters I want displayed, is there a way to use a function like this for the reporting as well?
I have formatted the Dates on the report with no problem, but text does not provide any functionality as I need to simply display the first 30 characters of the string for instance?
Comments
ie dataset.fieldname,from, count
[Copy(<Customers."Company">, 1, 1)]
Thank you very much, that worked perfectly.