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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Section on own page details help needed

Status
Not open for further replies.

pectin232

Technical User
Jan 22, 2011
67
US
This is on the main page of the Form where it has like over 10 different Subreports. I click on Section Expert and select the SubReport....I tried 'New Page Before' and 'New Page' After to print the details of the subreport on each and every page. where Somehow it still prints on 1 page for 2 separate records. Suggestions?

The Subreport itself has a
Db to Dh has all the details info on the person, While GF1 has the signature. The form is to be printed out separately for each person on a piece of paper/ form for the doctor to view and sign off approval for release. somehow 2 records keep showing even after I have changed it to 'New Page Before' and 'New Page'

RH Agreement & Approval
GH1: For the Person
Db
Dc
De
Df
Dg
Dh
GF1 Signature
 
1) But in what section is the subreport located?

2) You want the sub details to print on every page of what?

This is hard to visualize.

-LB
 
I want all the details GH, Details,GF etc.. all to be printed out on each page... lets say I am a patient.. and I want all details of my case... first visit, last visit, check up frequency, etc etc.. x rays all to be printed out on 1-5 pages.. this is my case..but somehow Mr jay case [another separate case prints below of mine just after GF1 Signature... strangely. Why?
 
You didn't answer my questions. I still don't know anything about the subreport. Are you talking about wanting a group within the subreport to be on the same page? If so, be sure you are inside the subreport when you go to the section expert, and insert a new page after on the group footer, using a formula in the x+2 area:

not onlastrecord

This will prevent a final blank page.

-LB
 
Lbass. I put a word document. Not sure if it helps you to have a better understanding. It is not a big thing. I am sure somehow I have not correctly place the textboxes or they have to be in the GF instead of the details in order for the NewPage After code to work. Thanks and appreciate if you have the time.
 
 http://www.mediafire.com/?ft5143kqbw8609v
As I said, all you need to do is: Be sure you are inside the subreport when you go to the section expert, and insert a new page after on the group footer, using a formula in the x+2 area:

not onlastrecord

If you still are not getting the results you expect you should explain exactly how you implemented this and then also explain what is currently wrong with the results you are getting.

-LB
 
I got it working!!! thanks... I mess around and move data to a section and did a newpage before with the code. It works. Thanks Lbass.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top