Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Help with report Post Reply Post New Topic
Author Message
ChrisJ517
Newbie
Newbie


Joined: 21 May 2007
Online Status: Offline
Posts: 16
Quote ChrisJ517 Replybullet Topic: Help with report
    Posted: 19 Aug 2008 at 12:04pm
I'm trying to create a report from our Accounts Receivable database that shows all invoices within a parameter period.  So I set up the parameters based on invoice date.    I have the following fields selected:
 
Invoice.inv_no
Invoice.inv_dt
customer.cus_name
Invoice.inv_pd_dt
receipt.rct_no
receipt.ck_no
 
I want the report show the Invoice Number, Invoice Date, Customer Name, Invoice Paid date, receipt no and check no.
 
The problem is that as soon as I insert any field from the receipt database, it will only show invoices that are paid.  I want it to show all invoices regardlesss if they are paid.  Is this possible?
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 19 Aug 2008 at 1:02pm
You need to do a left outer join between the invoice table and the receipt table. That allows all invoices to be printed even when there isn't a matching receipt record. You can change the table link properties in the Data Source Expert.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
IP IP Logged
ChrisJ517
Newbie
Newbie


Joined: 21 May 2007
Online Status: Offline
Posts: 16
Quote ChrisJ517 Replybullet Posted: 19 Aug 2008 at 1:51pm
Thanks!  That took care of the problem.  I didn't even know about the different kind of links.
 
Thanks again
 
Chris
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.