Solved

overview based on join table

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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.

810 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