For my text box on my form I have been shown the subsequent Default formula to calculate last months date – the screen view shows 200402
=IIf((Month(Date())-1)<9,Year(Date()) & "0" & Month(Date())-1,Year(Date()) & Month(Date())-1)
I would like to create a further text box on my form to calculate the prior months date. ie same month last year - screen view to show 200302
I have tried to modify the above formula but failed
Could you please help.
Kind regards
=IIf((Month(Date())-1)<9,Year(Date()) & "0" & Month(Date())-1,Year(Date()) & Month(Date())-1)
I would like to create a further text box on my form to calculate the prior months date. ie same month last year - screen view to show 200302
I have tried to modify the above formula but failed
Could you please help.
Kind regards