vidar.freyr
Technical User
I have a default value in a report as YYYYMM.
I run this report on the first day of each month.
Delfault value need´s be last month with this format YYYYMM
In the past I have used
=DateAdd(DateInterval.Month,DateDiff(DateInterval.Month,CDate("01/01/1900"),Now())-1,CDate("01/01/1900"))
But for this report I can't use this it needs to be YYYYMM
I run this report on the first day of each month.
Delfault value need´s be last month with this format YYYYMM
In the past I have used
=DateAdd(DateInterval.Month,DateDiff(DateInterval.Month,CDate("01/01/1900"),Now())-1,CDate("01/01/1900"))
But for this report I can't use this it needs to be YYYYMM