Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to show two section in one page

Status
Not open for further replies.

umeshs79

Programmer
Aug 7, 2002
42
DE
Hi,
I have two detail section in my report. In first Detail section i am showing headings and in second details section i am showing the data.
Means i am displaying heading for every record.
Now my problem is that on some pages the Heading printed at end of the page and the record goes on next page. So i want that Heading and Data should print on same page. I.E. Both section(Heading and data scetion) should come on same page.

Is there any property like "Keep together" for two sections.

Example:

PAGE -1

ID Name Address - Heading
--------------------------
001 Jon XXXX

ID Name Address - Heading
--------------------------
002 Methew YYYY

ID Name Address - Heading
--------------------------


PAGE -2

003 Hody ZZZZ


In above example for 3rd record the heading is on 1st page and the record is on second page. So i want the heading should come on second page for 3rd record.
I cannot put heading and fields (record data) in same detail section because some time i needed to supress the Header detail section.

Please tell me how i do this.
Thanks




Umesh Sharma,MCSD
India
 
If you format your detail section, then in the "Section Expert" you select the one that is just named "Details" and there you mark the checkbox "Keep together".

Hope you get it.

/Goran
 
it is unclear to me if you are printing a header section followed by a detail section or 2 detail sections

the "Keep Together " in the section expert will only keep that section from splitting across pages.

BUT if you right click on the header section in the grey margin on the left and select "Change Group" at the bottom is a "keep Together" for the group...I think that is what you want. Jim Broadbent
 
Hi,

Try this, right click the grey area of the detail section and then select format section and check the check box keep together, for each of the detail section. I tried this and is working for me.

Thanks,
Hamida
 
Thanks,
It is working fine. Umesh Sharma,MCSD
India
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top