Inline Text Formatting

edited November 2015 in FastReport 4.0
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?

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 12:57AM
    use the copy function in the memos expression do not connect the memo to a datafvield.
    ie dataset.fieldname,from, count
    [Copy(<Customers."Company">, 1, 1)]
  • edited 12:57AM
    gordk wrote: »
    use the copy function in the memos expression do not connect the memo to a datafvield.
    ie dataset.fieldname,from, count
    [Copy(<Customers."Company">, 1, 1)]

    Thank you very much, that worked perfectly.

Leave a Comment