Skip to Content
author's profile photo Former Member
Former Member

draw a horizontal line across the crystal report based on the length of field value

Hi,

I have crystal report which has fields including Employee Name, Project Name, Project Summary, Due Date and start date. All these fields have single line value except project summary. Each project has different lines of summary- some has 2 lines and some has 5 lines. How do I draw the horizontal line across the report in a way that it sits at the last of summary line.? If I draw below 2 lines it cuts off the other project summary and if i draw below 5 lines, there will be extra space. I think i need to make it dynamic but how? Is there a way to do this?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Nov 05, 2015 at 08:04 PM

    Hi Soaltee,

    If these fields are on the Details Section, insert a Details b section and place the horizontal line on this section.

    -Abhilash

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 06, 2015 at 08:27 AM


    Hi Soaltee,


    If you are grouping the data, then you are draw a line at the bottom of group header or footer (where ever necessary). As you said you have many lines in Project summary you can use Can Grow option. for that, Select the Field, then need to right click on the Project summary and select Format field option. Under Common Tab you'll find the Can Grow option which will avoid the display of incomplete project summary and overlapping of the line.


    Let me know if you have more questions.


    Thanks,

    Samrat Muddasani

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Samrat Muddasani

      Yes, fields are in detail section and for project summary, 'can grow' is checked in .I tried putting line under the group header but that didn't work.

      Now how do I insert detail b section? Sorry, I am beginner to crystal report

  • author's profile photo Former Member
    Former Member
    Posted on Nov 06, 2015 at 07:05 PM

    Solved it. Thank you both!!!

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.