Trim Spaces from a field

edited 1:38AM in FastReport 3.0
What would be the correct way to trim spaces left and right for this field ?

[frxDBDataset1."WorkDay"]

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 1:38AM
    if the field is a string field and you are in a text object
    [Trim(<frxDBDataset1."WorkDay">)]

    hint select the memo dblclick to bring up editor use the expression button to bring up the expression editor select the function you want from the functions tab dblclick the base function will appear in the lower pane move the cursor between the () then click on the data pagetab dblclick on the desired field and it will be added to the expression click ok to close the editor.
    ;)

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.