How to implement a Container Text Box?

Posted by: ngchintamani on 4 August 2017, 3:06 pm EST

  • Posted 4 August 2017, 3:06 pm EST

    I am having some text which have to be used with a datafield. In Crystal Reports 10 I can use a text box as a container for datafield. How can I implement the same thing in AR 2.0?
  • Replied 4 August 2017, 3:06 pm EST

    Hello ,


    Did you try to use the DataField property of Active Reports TextBox control?


    DataField (Field)


    Description


    Sets or returns the database field from which a control pulls its data. When the DataField property is set to a field contained within the DataSource, ActiveReports binds the field's data from each record to the control. The recordset data is first saved into the DataValue property. It then passes through any OutputFormats and is set as the control's text.


    Sergey Romanov.

  • Replied 4 August 2017, 3:06 pm EST

    I would like to redefine my problem.

    I have a fixed text format. I want to fill some places with some data from the database. Example:

    -------------------------

    Hi,

    My name is _________. My Hometown is ______.

    Thank You,

    ___________

    -------------------------

    Here I want to replace "__________ " with Name, Home town.... etc.

    If I type the above strings in seperate textboxes then the alignment is not possible. The text may get overlapped.



    This would work like the MAILMERGE in MS Word .
  • Replied 4 August 2017, 3:06 pm EST

    Hello ,


    Active Reports RichEdit control supports the "mail-merge" features.


    Here is a Knowledge Base article about using Mail Merge with Active Reports RichEdit control:


    http://www.datadynamics.com/forums/261/ShowPost.aspx


    Sergey Romanov.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels