Hello,
does anyone know a function which always displays the last month?
Best regards,
D.
hi,
try
[month] = (extract(month;current_date)-1)
cheerz
Quote[month] = (extract(month;current_date)-1)
Does that work for January?
I'd use something more along the lines of:
[month] = (extract(month;_add_month(current_date,-1)))
Your correct Chris ;)
Just copy/pasted it from a prompt query for year...for months you are absolutly correct. ;D
it works, many thanks charon!