GroupHeader Condition with 2 fields int+string

edited September 2011 in FastReport 4.0
Hello all,

where ist the right syntax for combine two fields integer and string as contition in GroupHeader

My Field values:
<StartsStartkarten."PASS_ID"> = 2614
<StartsStartkarten."VEREINSNR"> '416020'

this contition IntToStr(<StartsStartkarten."PASS_ID">)+'.'+<StartsStartkarten."VEREINSNR">
creates not a string like 2614.416020 rather than 2614+416020=418634 and the condition works not right.

In a memoview work this but not as contition in GroupHeader
[IntToStr(<StartsStartkarten."PASS_ID">)].[<StartsStartkarten."VEREINSNR">]

thanks a lot,
Kostas

Comments

  • gpigpi
    edited 12:34PM
    Try to use
    VarToStr(<StartsStartkarten."PASS_ID">)+'.'+VarToStr(<StartsStartkarten."VEREINSNR">)
  • edited 12:34PM
    gpi wrote: »
    Try to use
    VarToStr(<StartsStartkarten."PASS_ID">)+'.'+VarToStr(<StartsStartkarten."VEREINSNR">)

    thanks this works fine.

    regards
    Kostas

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.