Display data

Bee

Registered User.
Local time
Today, 16:13
Joined
Aug 1, 2006
Messages
486
Hi,

I am using a query to print information about customers and products on a report; the query is returning something like this:

Customer---------------------Products
cust1-------------------------------apple
cust1-------------------------------cereal
cust1-------------------------------salad
cust2-------------------------------photos
cust2-------------------------------bananas
However, my client is wanting all the info about each customer displayed in list like this:

Customer----------------------Products
cust1--------------------------------apple------------------cereal-------------------salad
cust2--------------------------------photos-----------------bananas

I can change my tables to reflect product1...productn, but that will break database rules.

Any suggestions please?

Regards,
B
 
Last edited:
Any help with this thread will be very much appreciated. I am still stuck.
 
Would you be able to use a crosstab query to achieve something similar?

Customer-------------Products----------CountOfProducts
Row Source--------Column Source-------Value

Customer_____Apples___Bananas___Cereal
X_____________1_________0________0
Y_____________1_________1________0
Z_____________0_________0________1

Also, I noticed in the other thread you had some question about recordsets, maybe you might find this tutorial helpful. It certainly helped me.
http://www.devdos.com/vb/lesson4.shtml
 
Last edited:

Users who are viewing this thread

Back
Top Bottom