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

Layout Question Please help! 1

Status
Not open for further replies.

vlad2

Programmer
Jan 9, 2002
56
US

Ivoice has 1 to x payments.I grouped payments by InvoiceID
I want to display the first payment in the same line with invoice info.now it looks like...

InvNumber InvTotal PaymentType AmoudPaid
123 $200.00
Cash $100.00
Check $100.00

I would like to display in this way:--

InvNumber InvTotal PaymentType AmoudPaid
123 $200.00 Cash $100.00
Check $100.00
How i can do this?
Thanks for any help..

 
I would use a subreport.

Put the invoices in your main report as you have it laid out. Put the payments in a subreport in details b, and format details b to suppress blank section. If there are 1 or 1,000 payments, they will all show up with the invoice only showing once. Software Support for Macola, Crystal Reports and Goldmine
dgillz@juno.com
 
I have to relogin to another server from within VB at run time.Will it cause the problem using subreports??

thanks.
 
You can simply put the "group fields" on the detail line, choose Format Field, and click "Suppress When Duplicated."

You don't need a sub-report.
 
Thanks a lot "Suppress When Duplicated" works!!!
One more Question:

Do you know how to Keep whole group together, I mean keep together All: GroupHeader and Details and groupFooter

Thanks in advance...
 
Right-click on the Group Header and choose "Change Group" for those options.

You would have thought that those options would be under "Format Section" but that would have been too logical for Crystal.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top