A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

ACC2000: dealer order form with last yr qty



 
 
Thread Tools Display Modes
  #1  
Old January 28th, 2008, 06:58 PM posted to microsoft.public.access.reports
A Man
external usenet poster
 
Posts: 29
Default ACC2000: dealer order form with last yr qty

I want to print a dealer order form with all products on it. I want the
total of each product the dealer ordered in 2007 to be in a different
column next to the product. I am having problems getting the results I
want. Here are the tables I have:

*=key field
- Customer table
Fields:
o CustomerNumber*

- OrderDetail table
Fields:
o CustomerNumber*
o ItemNumber*
o QtyPurchased2007

- ItemIndex table
Fields:
o ItemNumber*
o ItemDesc

I tried linking the tables various ways using inner and outer joins, and
join option 1. Nothing gives me (in the query) all products for a
customer.

I thought I might start with the ItemIndex table and join like this:
ItemIndex!ItemNumber - OrderDetail!ItemNumber, OrderDetail!
CustomerNumber - Customer!CustomerNumber

But that did not work (I only got items purchased, I need to show all
items.)

Thank you.
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:23 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.