Madushika
Madushika

Reputation: 1

Crystal report display line as expected in the image

enter image description here

I have taken data from access and data is displayed in the crystal report. I have inserted a line in the detail section but I need to make the line thicker at the end of the transaction as in the image shown. Please help me with this

Upvotes: 0

Views: 133

Answers (2)

MilletSoftware
MilletSoftware

Reputation: 4026

In that case, split the detail section into 'Detail a' and 'Detail b' sections. And control the visibility (using an expression for the Suppress attribute of each section) so that only one version is visible using similar logic.

Upvotes: 0

MilletSoftware
MilletSoftware

Reputation: 4026

Here is an example where the report is grouped on Order ID. I inserted a line at the bottom of the detail section, right-clicked the line, selected 'Format Line...' and entered the following expression for the line-width:

If onlastrecord then crThreePointLine else 
if Next({Orders_Detail.Order ID}) <> {Orders_Detail.Order ID} then crThreePointLine 
else crOnePointLine

Dynamic Expression for Line Width

Result

Upvotes: 0

Related Questions