sum multi field of one record

hbbhbb
edited 6:00AM in FastReport 4.0
hi
i have a report and one table
i want sum multi field of one record.
how can i do?

Comments

  • gordkgordk St.Catherines On. Canada.
    edited June 2014
    [<dsname."fld1name">+<dsname."fld2name">]
  • hbbhbb
    edited 6:00AM
    gordk wrote: »
    [<dsname."fld1name">+<dsname."fld2name">]

    hi
    it dosnt work please help me
    my fields are:
    [<Tbl_Barnameh.TerminalRight>+<Tbl_Barnameh.commission>]
  • edited June 2014
    Will it work if you put double quotes around the column names like gordk's example?
    [<Tbl_Barnameh."TerminalRight">+<Tbl_Barnameh."commission">]
    
  • hbbhbb
    edited 6:00AM
    DavidWIII wrote: »
    Will it work if you put double quotes around the column names like gordk's example?
    [<Tbl_Barnameh."TerminalRight">+<Tbl_Barnameh."commission">]
    


    no did not work
  • hbbhbb
    edited 6:00AM
    hbb wrote: »
    hi
    i have a report and one table
    i want sum multi field of one record.
    how can i do?


    i found it.
    [ToDouble([Tbl_Barnameh.commission])+[Tbl_Barnameh.tax]]
  • gordkgordk St.Catherines On. Canada.
    edited 6:00AM
    you must be doing something wrong,
    post a copy of your fr3 file here along with a copy of the output fp3 file

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.