Solved

overview based on join table

Posted on 2010-11-18
5
361 Views
Last Modified: 2013-11-27
I have a Customer table with CustomerID as PK, an Interest table with InterestID as PK and a Join Table CustomerInterests with a CPK made up of CustomerID & InterestID to handle the many to many relationship between the customers & interest groups.  Here's what I need:

1) A neat overview of customers that share a particular interest, and customers that don't.
2) I would like to be able to sort or filter these customers by features (eg last name, customer's employer, etc.).
3) I need to be able to add/remove a customer from the interest list, ie. the method should directly impact the Join Table records. If possible, I'd prefer a non VBA solution.
4)A plus, but not a necessity, would be a solution that displays all this information for several interests at the same time, not just one.

I'm not that familiar with access, but my intial thoughts were this:In a query, I'd have a row for each customer, and a column for each interest, and have an expression resulting in "true/false" or an "x" if the CustomerID&InterestID combination exists in the the Join Table. And then find some way to add/delete a Join Table record when a field is manually changed from True to False or viceversa.

I have no idea how to go about it. I use Access 2003.
0
Comment
Question by:kittenwhisky
  • 4
5 Comments
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 34169053
When you must list 4 separate "Requirements" then this is a tip-off that you really need to create 4 separate "Questions".

This reads more like a custom "Project" the a single question requiring one direct answer.

As you know from answering question, may experts may shy away from these Multi-part questions because it is never clear what the asker will consider the "Answer".

;-)

JeffCoachman
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 500 total points
ID: 34169408
Here is how I would handle #1.

See the queries and the reports.
Access-EEQ26624787CompareCustome.mdb
0
 
LVL 4

Author Comment

by:kittenwhisky
ID: 34169648
thanks boag2000. I will rephrase my question. and thanks for the answer to part 1.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 34169649
;-)
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 34169734
Oh,

...and BTW, I see you have some pretty impressive Excel VBA skills...
...Keep up the good work!

;-)

Jeff
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question