>How can I create 5 detail bands in a report.(include marked with lines ruled and not equel fields detail bands)
You have to create a single structure that contains all the different details, and print conditionally.
Table 1 has Fields: Field1, Field2
Table 2 has Fields: Field1, Field3
With a SELECT ... UNION, you have to vertically combine records from both table, creating a structure that contains Field1, Field2, Field3.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)