Options

Insert a symbol into a report

meynonmeynon Member Posts: 11
I need to insert a dash symbol "-" between two fields in a report I have designed.
In the source expression I've entered "-" and that doesnt work.
I've added the symbol - to the dataitem table and then selected it in my source expression and that doesn't work.

Please advise if there is a simple way to insert the - symbol between two fields in a report.

Thank you,
Marcie

Comments

  • Options
    Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    Replace the 2 TextBox-controls for the fields (= Item, Body (1) in the screenshot below) with one large TextBox-control (= Item, Body (2) in the screenshot below), and change the SourceExpr-property to something like: STRSUBSTNO('%1 - %2',myField1,myField2)
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • Options
    KYDutchieKYDutchie Member Posts: 345
    Hi,

    Why not use a Label field with the caption of '-' ? That is how I do it.

    Regards,

    Willy
    Fostering a homeless, abused child is the hardest yet most rewarding thing I have ever done.
  • Options
    FSmeetsFSmeets Member Posts: 37
    Or make 1 textbox for No. and Description and at the SourceExpr set the following: "No"+' - '+"Description"
  • Options
    meynonmeynon Member Posts: 11
    Thank you. These were very helpful solutions and they worked.
    =0)

    Marcie
Sign In or Register to comment.