Custom Reports, how to append plain text to a data field

Forum Forums SI 2016 Genreal Custom Reports, how to append plain text to a data field

This topic contains 1 reply, has 2 voices, and was last updated by  Narayana Karthik 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12892 Reply

    Eric Kalpakoff
    Participant

    I am creating a custom report and I want to right justify the fields on the cover page. I’d like to append ‘Revision:’ in front of the dtr:Revision and make sure they don’t overlap, can this be done inside the same field?

    #12893 Reply

    Narayana Karthik

    Hi,
    This is doable with the help of script code.
    Assumption –
    I am just assuming you are using latest SI software and your custom report have
    dtr:Revision field textbox name is “txtRevision” and it lies in ReportHeader1 section.

    How to do in script side –
    In the “ReportHeader1_Format” event procedure include the below line –

    Sub ReportHeader1_Format

    txtRevision.Text = string.Format(“Revision {0}”, txtRevision.Text)

    End Sub

    Hope you got it and it helps.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Custom Reports, how to append plain text to a data field
Your information:





<a href="" title="" rel="" target=""> <blockquote cite=""> <code> <pre> <em> <strong> <del datetime=""> <ul> <ol start=""> <li> <img src="" border="" alt="" height="" width="">