G
Guest
I have two tables. The first is SalesData. The fields are Month, Year, Sales. The other Table is ExternalData. This table contains two fields called CreditAmount and one called CreditDate. Not every month has credits. I want to write a query that displays the following
Month Year Sales CreditAmount Credit%ofSale
January 2003 $200,000 $5,000 .025
February 2003 $250,000 $0 0
March 2003 $225,000 $7,500 .033
April 2003 $300,000 $0 0
Etc..
The problem I am having is that every month has sales. But not every month has credits
I want to still display the month but leave the credit field blank or with zeros. I do no
need to show the credit date field. Only the total for the month. The querie
I have written only display months with credits in them. How can I show all records wit
sales data and the credit data for corresponding months. Any help would be greatly apprectiated
-Tim
Month Year Sales CreditAmount Credit%ofSale
January 2003 $200,000 $5,000 .025
February 2003 $250,000 $0 0
March 2003 $225,000 $7,500 .033
April 2003 $300,000 $0 0
Etc..
The problem I am having is that every month has sales. But not every month has credits
I want to still display the month but leave the credit field blank or with zeros. I do no
need to show the credit date field. Only the total for the month. The querie
I have written only display months with credits in them. How can I show all records wit
sales data and the credit data for corresponding months. Any help would be greatly apprectiated
-Tim