concatenation

edited 4:20AM in FastReport 4.0
hello,

I want to know if the following code is the right syntax for fields concatenation:
begin_text [<frxDBDataset20."CLNOM">] middle_text [<frxDBDataset20."CLCODE">] end_text

The result I need is: string + field1 + string + field2 + string

I ask this question because I am confused with the square bracket and angle bracket.

regards

Comments

  • gpigpi
    edited 4:20AM
    In TfrxMemoView you can use
    begin_text [<frxDBDataset20."CLNOM">] middle_text [<frxDBDataset20."CLCODE">] end_text
    or
    begin_text [frxDBDataset20."CLNOM"] middle_text [frxDBDataset20."CLCODE"] end_text
    In script you should use
    begin_text + <frxDBDataset20."CLNOM"> + middle_text + <frxDBDataset20."CLCODE"> + end_text

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.