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

Need help for whileprinting

Status
Not open for further replies.

OLTU

Technical User
Feb 14, 2005
39
NL
Hi there,

CR version 8.5,

I need a support with using of whileprinting function.

In my subreport I made a formula which says:
whileprintingrecords;
shared stringvar name: name{client.name}
I placed this in details and it works!

In my main report I made a formula which says:
shared stringvar name;

I placed this in details in my main report
but I'm getting for the first record empty and the rest advanced.


Like :

mainreport Subreport
Order Name (SHOULD GIVE RECORDS)
1 A
2 A B
3 B C
4 C D
5 D E

pls help me to fix this out.

thx,
M.
 
You need to move the subreport into a section above the one that containc the formula in the main report for displaying the shared variable value.
I would create a new section in the main report, then move it above the existing section.
Next, move the subreport up one section into the new section.
I would then set the new sections Underlay property so that when the report prints, the values will appear next to each other.

~Brian
 
thank you very much Brian,it works.

Regards,M.[bigcheeks]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top