>How to draw long vertical lines in detail band and join to the footer even there is only a few items?
This solution is based on the assumption that you want the line to streach as the detail grow at runtime.
Place the vertical line in the detail band. Select it. Right-click and select properties. In the dialog, check the "Stretch relative to height of band".
The line should grow as more detail line are added.
Greg Reichert