G
Guest
Hi all,
Not quite sure how to phrase this question! Here's the tables I'm querying:
Caller Role ID (PK)
Caller Role
Caller Role Access ID (PK, FK to [Message Display.Caller Role Access], 1 to n)
Caller Role (FK to Caller Role ID, 1 to n)
Service Offering
Access Allowed (Y/N)
Message Displayed (Y/N)
Message Display ID (PK)
Caller Role Access
Message (FK to Message ID, n to 1)
Message ID (PK)
Message Type
Message Text
I need a query to select a specific Caller Role and display all records
where Access Allowed = Y, and display the message text if there is any.
The problem i'm finding is that if there is no Message match, because
Message Displayed = N, this gets ignored by the query, as there are no
matching references in the Message ID table.
So how can I get the query to show all matches to Access Allowed = Y,
whether Mesage is present or not??
Make any sense??
Thanks
Mark
Not quite sure how to phrase this question! Here's the tables I'm querying:
Caller Role ID (PK)
Caller Role
Caller Role Access ID (PK, FK to [Message Display.Caller Role Access], 1 to n)
Caller Role (FK to Caller Role ID, 1 to n)
Service Offering
Access Allowed (Y/N)
Message Displayed (Y/N)
Message Display ID (PK)
Caller Role Access
Message (FK to Message ID, n to 1)
Message ID (PK)
Message Type
Message Text
I need a query to select a specific Caller Role and display all records
where Access Allowed = Y, and display the message text if there is any.
The problem i'm finding is that if there is no Message match, because
Message Displayed = N, this gets ignored by the query, as there are no
matching references in the Message ID table.
So how can I get the query to show all matches to Access Allowed = Y,
whether Mesage is present or not??
Make any sense??
Thanks
Mark