Hi,
I just moved my Access tables over to Sharepoint. I'm now using Access and linking to these lists. Basically Sharepoint is going to be the backend, and users can use Access to run reports if needed.
Here is the problem I'm running into.
I have a query that uses an alias, it worked great when everything was in Access.
The purpose of the query, is to display the name of the supervisor of each person.
Here is the code.
But now that I've moved it to sharepoint, it's not working right at all. Sometimes it's listing empoyees multiple times, other times it's not listing them at all. Not sure what's going on.
one thing I noticed is, when in Access when the query ran. The alias column would say 'Supervisor' the alias I gave it.
But now running this with the tables in Sharepoint, the column is named 'EmployeeName' so it has 2 columns with this name. It's like it's no longer recognizing the alias.
Is there something different that needs to be done, with tables in Sharepoint.
or is there a better way to create this query?
Thanks
I just moved my Access tables over to Sharepoint. I'm now using Access and linking to these lists. Basically Sharepoint is going to be the backend, and users can use Access to run reports if needed.
Here is the problem I'm running into.
I have a query that uses an alias, it worked great when everything was in Access.
The purpose of the query, is to display the name of the supervisor of each person.
Here is the code.
Code:
SELECT EmployeeName.EmployeeName, Team_Name.Team, EmployeeName_1.EmployeeName AS Supervisor
FROM (EmployeeName LEFT JOIN Team_Name ON EmployeeName.DeptID = Team_Name.ID) LEFT JOIN EmployeeName AS EmployeeName_1 ON EmployeeName.Supervisor_Manager = EmployeeName_1.ID;
But now that I've moved it to sharepoint, it's not working right at all. Sometimes it's listing empoyees multiple times, other times it's not listing them at all. Not sure what's going on.
one thing I noticed is, when in Access when the query ran. The alias column would say 'Supervisor' the alias I gave it.
But now running this with the tables in Sharepoint, the column is named 'EmployeeName' so it has 2 columns with this name. It's like it's no longer recognizing the alias.
Is there something different that needs to be done, with tables in Sharepoint.
or is there a better way to create this query?
Thanks