Solved

overview based on join table

Posted on 2010-11-18
5
359 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now