dbTalk Databases Forums  

Report with multiple groups problem

comp.database.ms-access comp.database.ms-access


Discuss Report with multiple groups problem in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mike
 
Posts: n/a

Default Report with multiple groups problem - 02-26-2004 , 04:49 AM






Hi i'm trying to print out a report but i'm having difficulties, this
is the situation:

I have 5 tables:
1 = tblcustomer
2 = tblcustcontact
3 = tblcontactinfo
4 = tblcustassort
5 = tblassortiment

The idea is simple i have customers. A customer has multiple
contactpersons in its firm and a customer can have multiple
assortiments wich he can choose out of when he wants to place an
order.

example.

customer A has contactperson A "boss"
contactperson B "secretary"
AND
has assortiment A "chickingproducts" he can order
chickenprod
assortiment B "porcproducts" he can order
porcprod

How can i print a report with all the information about the customer
(name, place, telephone) with all its different contactpersons and
with the assortiments he can pick out of.

My tables are linked like this:

tblcustomer tblcustcontact tblcontactinfo
customerID--> tblcustcontact.custID
tblcustcontact.contactid--> tblcontactinfo.contactid
AND

tblcustomer tblcustassort tblassortiment
customerID--> tblcustassort.custID
tblcustassort.assortid--> tblassortiment.assortid

How can i make this report withouth printing customerinformation 4
times or my contactinfo 2 timeson my report? Should i use subreports?
Any solutions? If i make a query on a customer with 2 contacts and 2
assortiments he gives me 4 records??

PLZ help me.

Contact me also at mikebellemans (AT) norenca (DOT) be

Reply With Quote
  #2  
Old   
Ira Solomon
 
Posts: n/a

Default Re: Report with multiple groups problem - 02-26-2004 , 08:36 PM






Hi:
Create a query with the linked tables in it.
Use the Report wizard.
Group by Customer and then by Assortment.
Thus you can set the cusomer infor to appear one under the customer
header, etc.

Good Luck

Ira Solomon
On 26 Feb 2004 02:49:34 -0800, Bellemansmike (AT) hotmail (DOT) com (Mike) wrote:

Quote:
Hi i'm trying to print out a report but i'm having difficulties, this
is the situation:

I have 5 tables:
1 = tblcustomer
2 = tblcustcontact
3 = tblcontactinfo
4 = tblcustassort
5 = tblassortiment

The idea is simple i have customers. A customer has multiple
contactpersons in its firm and a customer can have multiple
assortiments wich he can choose out of when he wants to place an
order.

example.

customer A has contactperson A "boss"
contactperson B "secretary"
AND
has assortiment A "chickingproducts" he can order
chickenprod
assortiment B "porcproducts" he can order
porcprod

How can i print a report with all the information about the customer
(name, place, telephone) with all its different contactpersons and
with the assortiments he can pick out of.

My tables are linked like this:

tblcustomer tblcustcontact tblcontactinfo
customerID--> tblcustcontact.custID
tblcustcontact.contactid--> tblcontactinfo.contactid
AND

tblcustomer tblcustassort tblassortiment
customerID--> tblcustassort.custID
tblcustassort.assortid--> tblassortiment.assortid

How can i make this report withouth printing customerinformation 4
times or my contactinfo 2 timeson my report? Should i use subreports?
Any solutions? If i make a query on a customer with 2 contacts and 2
assortiments he gives me 4 records??

PLZ help me.

Contact me also at mikebellemans (AT) norenca (DOT) be


Reply With Quote
Reply




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 On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.