Search code examples
c#sql-servervisual-studio-2015crystal-reports

How to align an autoadjust size using database fields in crystalreport?


I have a question I'm using vs2015 and crystalreport CRforVS_13_0_18. I designed my report but when this report has a field longer than the others columns, only this grows, Even I set all the fields to check the option Can Grows. Can you help me?. Thanks in advance. I share a snapshot.enter image description here

And this is my designer. enter image description here

When I put borders, they don't show with the same height. like this: enter image description here

I did the extra section but i have problems with left and right lines. enter image description here

Finally. i got to do lines untill the end of the section but how can i align in vertical center? please. enter image description here


Solution

    1. Add another section below Section 3. Let's call this Section N.

    2. Put a horizontal line (as long as table width in Section 3) in this Section N, and decrease the height of this section to as low as possible.

    3. Reduces it only leave space for this horizontal like to be visible.

    Now when you will be run the report, section N will be printed for every section 3 (row) and can help in drawing a line after each row.