Here's a quick overview of where I'm at and where I need to be. I've got data that I need to cross reference and I just can't seem to come up with an easy way to do it...
This is my relationships structure:
[Edited: See first image below]
What I want to do is have my activities table tied with my contacts, but not all activities will require a contact. The connection I'm looking to make is to be set up the contact that first reported the issue so that we can track who is sending us "New Issues", but I get all the contacts listed on an issue.
[Edited: See second image below]
What do I need to create or what kind of connection do I need to make so that when there is a "New Issue" I can capture the contact of the new issue? I'd also like to be able to capture other instances where a contact might be involved, but not all of the actions will require a contact to me listed... and I'd really like to avoid creating a contacts field in my activity table because I'd prefer to not have blank entries and not all actions will require a contact and not all actions will be limited to just one contact on an issue either.
Thanks.
3 1172
Not 100% sure of your structure, but I'm assuming every issue has at least one activity. If you made a query linking issues to activies and filtered it just to 'New Issue' you could save this query as say qryNewIssue.
You could then link this query to Contacts with an outer join that would show all New Issues, with the activity, and any contact associated with this new issue, including those new issues with no contacts
Not 100% sure of your structure, but I'm assuming every issue has at least one activity. If you made a query linking issues to activies and filtered it just to 'New Issue' you could save this query as say qryNewIssue.
You could then link this query to Contacts with an outer join that would show all New Issues, with the activity, and any contact associated with this new issue, including those new issues with no contacts
At this point, I'm not capturing when the provider is the original contact on a New Issue. I'm only capturing what providers are associated with an issue. I guess, what I'd like to do is have a way to capture the name of the contact when the IssueType = "New Issue".
So, as part of a form, if the tbl_Activity_Type.actype_desc = "New Issue", the form would ask for tbl_Contacts.cntct_Name.
I guess what I'd like to do is set up a table that has three fields.
Issue; Contact, and Activity Type...
And the Action Taken form would only add records to this table if the Actype was in a certain set of actions that would require the contact information. I can't think of a better way to normalize it and I'm not really familiar with Outer Joins.
Thanks.
At this point, I'm not capturing when the provider is the original contact on a New Issue. I'm only capturing what providers are associated with an issue. I guess, what I'd like to do is have a way to capture the name of the contact when the IssueType = "New Issue".
So, as part of a form, if the tbl_Activity_Type.actype_desc = "New Issue", the form would ask for tbl_Contacts.cntct_Name.
I guess what I'd like to do is set up a table that has three fields.
Issue; Contact, and Activity Type...
And the Action Taken form would only add records to this table if the Actype was in a certain set of actions that would require the contact information. I can't think of a better way to normalize it and I'm not really familiar with Outer Joins.
Thanks.
I would probably explore something like this: Add a field named JoinTypeID to your tbl_Join_CI, linked to a table giving the types of Joins: Initiated By, Handled By, Managed By, Closed By etc, etc...
Your select query then will be quite easy to write, something like this: - SELECT tbl_Contacts.cntctID, tblIssues.IssueID, tblJoin_CI.JoinTypeID FROM tbl_Contacts, tblIssues, tblJoin_CI WHERE tblJoin_CI.JoinTypeID = 1
(or whatever the id is for the join type Initiated By)
Regards,
Scott
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Omer van Kloeten |
last post by:
The Top Level Design:
The class Base is a factory class with a twist. It uses the Assembly/Type
classes to extract all types that inherit from it and add them to the list
of types that inherit...
|
by: Shimon Sim |
last post by:
I have a custom composite control
I have following property
|
by: Krivenok Dmitry |
last post by:
Hello All!
I am trying to implement my own Design Patterns Library.
I have read the following documentation about Observer Pattern:
1) Design Patterns by GoF
Classic description of Observer....
|
by: Nogusta123 |
last post by:
Hi,
I have had a lot of problems getting web pages, master pages and
content pages to render in VS2005 design view the same as they would in
Internet Explorer. I did a lot of looking on the...
|
by: YellowFin Announcements |
last post by:
Introduction
Usability and relevance have been identified as the major factors
preventing mass adoption of
Business Intelligence applications. What we have today are traditional
BI tools that...
|
by: roN |
last post by:
Hi,
I'm creating a Website with divs and i do have some troubles, to make it
looking the same way in Firefox and IE (tested with IE7). I checked it with
the e3c validator and it says: "
This...
|
by: AceKnocks |
last post by:
I am working on a framework design problem in which I have to design a C++ based framework capable of solving three puzzles for now but actually it should work with a general puzzle of any kind and I...
|
by: istillshine |
last post by:
Particularly for medium-sized (10,000 ~ 20,000 lines) programs, what
are useful strategies to design them before coding?
My strategies are:
1. Imagine what the final program would look like....
|
by: Ken Fine |
last post by:
I've been living with a frustrating issue with VS.NET for some months now
and I need to figure out what the problem is. Hopefully someone has run into
the same issue and can suggest a fix. I...
|
by: existential.philosophy |
last post by:
This is a new problem for me: I have some queries that open very
slowly in design view.
My benchmark query takes about 20 minutes to open in design view. That
same query takes about 20 minutes...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |