K
Kerensky18
Hello;
I'm designing a database to track radio's.. The problem is I want to show
last names from a related table. But when I generate the report or the query
I get all the lastnames that I have stored in my table..
Here is the query I'm using
SELECT [Radio/staff].[Date-Out], [Radio/staff].[Date-In],
[Radio/staff].[Radio Number], [Radio/staff].[Staff Number], Staff.[Last Name]
FROM Staff LEFT JOIN [Radio/staff] ON Staff.[Badge Number] =
[Radio/staff].[Staff Number]
GROUP BY [Radio/staff].[Date-Out], [Radio/staff].[Date-In],
[Radio/staff].[Radio Number], [Radio/staff].[Staff Number], Staff.[Last Name]
ORDER BY [Radio/staff].[Date-Out] DESC;
When I do this I get a report that list the proper radios signed out to the
right people but following that I get alot of blank entries that just list
all of the last names in the staff table.
Any help would be appreciated on this.
Thankyou.
I'm designing a database to track radio's.. The problem is I want to show
last names from a related table. But when I generate the report or the query
I get all the lastnames that I have stored in my table..
Here is the query I'm using
SELECT [Radio/staff].[Date-Out], [Radio/staff].[Date-In],
[Radio/staff].[Radio Number], [Radio/staff].[Staff Number], Staff.[Last Name]
FROM Staff LEFT JOIN [Radio/staff] ON Staff.[Badge Number] =
[Radio/staff].[Staff Number]
GROUP BY [Radio/staff].[Date-Out], [Radio/staff].[Date-In],
[Radio/staff].[Radio Number], [Radio/staff].[Staff Number], Staff.[Last Name]
ORDER BY [Radio/staff].[Date-Out] DESC;
When I do this I get a report that list the proper radios signed out to the
right people but following that I get alot of blank entries that just list
all of the last names in the staff table.
Any help would be appreciated on this.
Thankyou.