Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

load current year

Hi Experts

I have the following expression:

resident job where Gesellschaft = 'DC' AND Jahr=2014 group by jobnr;

How can I insert the current year instead of hardcoding it?

Thank you for your help!

Jan

1 Solution

Accepted Solutions
Colin-Albert

year(today()) will return the current year

where Gesellschaft = 'DC' AND Jahr=year(today())

group by jobnr;

View solution in original post

3 Replies
Colin-Albert

year(today()) will return the current year

where Gesellschaft = 'DC' AND Jahr=year(today())

group by jobnr;

Gysbert_Wassenaar

resident job where Gesellschaft = 'DC' AND Jahr=Year(today()) group by jobnr;


talk is cheap, supply exceeds demand
Not applicable
Author

merci