>How to draw long vertical lines in detail band and join to the footer even there is only a few items?
Start them from page header and finish in pagefooter.
It is usually combined with convinient grouping of records. So group should optimally starts on new page.
From there (group header) you pool vertical line all the way down to the page or group footer.
HTH
Sergio