I work with MS Access 07
and need a little help.
I have two tables TbProjectTeam and TbProjectList. I need to compare the date the employee was received and the start date of the project. I used the SQL
syntax:
SELECT [TbProjectTeam ].[Surname, name] FROM TbProjectTeam INNER JOIN TbProjectList ON TbProjectTeam .[DateofTurnOut] <= TbProjectList.[DateOfStart] WHERE TbProjectList.[ID] = 1 ORDER BY [Surname, name];
My goal is to replace 1 in the expression TbSeznamUkolu. [ID] = 1 with something like ROW_NUMBER() OVER
in SQL
. MS Access
does not support this function, but, unfortunately, I need to know the row index for all projects. I assume that the corresponding employee will be displayed for each row.
Can anybody help me? Many thanks.
source share