Z
Zanstemic
Being new to access and limited experience with SQL , I'm finding that the
execution of queries can be tricky. I'm looking for guidance on how to best
approach or solve a problem.
I created a simple Select Query that Joins multiple Tables together for the
Control Source of a Report. This populates the Field List in Reports nicely.
However, the data being returned by the query has duplicate entries. I'm not
sure if I'm approaching it incorrectly or just have a simple problem with my
query.
I've been reading about Calculted Field Misinterpretated and not sure if the
return from the query is a simple issue or one where I need to redesign. Any
suggestions?
SELECT TPhysicians.TFirstName, TPhysicians.TLastName, TPhysicians.TTitle,
Client.[Client Name], Attendees.AttendeeFirstName, Attendees.CaseNumber,
Registration.[Date Scheduled], TPhysicians.TZip
FROM ((TPhysicians INNER JOIN Attendees ON TPhysicians.TPhysicians =
Attendees.TPhysicians) INNER JOIN Client ON Attendees.ClientID =
Client.ClientID) INNER JOIN ((Registration INNER JOIN Events ON
Registration.EventID = Events.EventID) INNER JOIN RegistrationEventType ON
Events.EventID = RegistrationEventType.EventID) ON Attendees.AttendeeID =
Registration.AttendeeID;
Any references or suggestions are appreciated.
execution of queries can be tricky. I'm looking for guidance on how to best
approach or solve a problem.
I created a simple Select Query that Joins multiple Tables together for the
Control Source of a Report. This populates the Field List in Reports nicely.
However, the data being returned by the query has duplicate entries. I'm not
sure if I'm approaching it incorrectly or just have a simple problem with my
query.
I've been reading about Calculted Field Misinterpretated and not sure if the
return from the query is a simple issue or one where I need to redesign. Any
suggestions?
SELECT TPhysicians.TFirstName, TPhysicians.TLastName, TPhysicians.TTitle,
Client.[Client Name], Attendees.AttendeeFirstName, Attendees.CaseNumber,
Registration.[Date Scheduled], TPhysicians.TZip
FROM ((TPhysicians INNER JOIN Attendees ON TPhysicians.TPhysicians =
Attendees.TPhysicians) INNER JOIN Client ON Attendees.ClientID =
Client.ClientID) INNER JOIN ((Registration INNER JOIN Events ON
Registration.EventID = Events.EventID) INNER JOIN RegistrationEventType ON
Events.EventID = RegistrationEventType.EventID) ON Attendees.AttendeeID =
Registration.AttendeeID;
Any references or suggestions are appreciated.