Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Greetings all!
Am trying to create a MONTHYEAR field from the two separate fields, but the result is undesired.
As far as I could understand, the result should be:
200901
200902
200903
200904
...
And the same to all other years... the code I'm using for that follows:
Year & DATE(Month,'MM')
And I could not find anything different from that through the tutorials and F1 in QV...
Any thoughts?
Thank you again!!!
Use DATE(YEAR,MONTH)
fIBER9906
It could be beter use monthname(date(YEAR,MONTH))
Just to clarify, I must replace de MONTH and YEAR by my fields, correct?
Yes, of course. Your name fields are equal to arguments. Try this and tell me.
Fiber906
Excuse me Thiago for not to reply as quickly as you need. I was mistaked; look at attached file and I hope it is what you are looking for:
Thank you for the reply!
I have found out the solution for it last night...
DATE(MAKEDATE(Year, Month), 'YYYYMM')
It has brought me the expected result (200901, 200902, ...) Have seen your file, and it might be very useful in the future.
Thx for the info exchange! Always a pleasure!