Hi folks,
I have a database with all employees of the departement entering there hours they worked per day and per project.
Now my Boss wants a report of every month, I already realized this with a crosstab.
But now he told me that he wants a report where the month is starting on the 20th of the Month before untill the 19th of the reported month. For example January means from 20th December till 19th January.
The idea was to create a new column where I enter the counting month ( 20/12 - 19/01 => 1; 20/01 - 19/02 => 2;.....)
Now here is my Problem: How can I fill this column automatically?
I tried it with a query to an other table where I entered StartDate, EndDate and RelatedMonth, but I can't get it working.
Can you help me with this solution or show my an other way how to realize it?
Thx,
Martin
I have a database with all employees of the departement entering there hours they worked per day and per project.
Now my Boss wants a report of every month, I already realized this with a crosstab.
But now he told me that he wants a report where the month is starting on the 20th of the Month before untill the 19th of the reported month. For example January means from 20th December till 19th January.
The idea was to create a new column where I enter the counting month ( 20/12 - 19/01 => 1; 20/01 - 19/02 => 2;.....)
Now here is my Problem: How can I fill this column automatically?
I tried it with a query to an other table where I entered StartDate, EndDate and RelatedMonth, but I can't get it working.
Can you help me with this solution or show my an other way how to realize it?
Thx,
Martin